mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-02 02:01:39 -05:00
fix(curriculum): correct "an checkbox" to "a checkbox" (#56713)
This commit is contained in:
@@ -33,7 +33,7 @@ You should have a fifth checkbox `input`.
|
||||
assert(document.querySelector("fieldset:nth-of-type(3) input:nth-of-type(5)[type='checkbox']"));
|
||||
```
|
||||
|
||||
You should have an checkbox input with an `id` of `"price"`.
|
||||
You should have a checkbox input with an `id` of `"price"`.
|
||||
|
||||
```js
|
||||
assert.strictEqual(document.querySelectorAll("fieldset:nth-of-type(3) input[type='checkbox']")[4].getAttribute('id'), 'price');
|
||||
|
||||
@@ -7,7 +7,7 @@ dashedName: step-24
|
||||
|
||||
# --description--
|
||||
|
||||
To make an checkbox input checked by default, you can add the `checked` attribute.
|
||||
To make a checkbox input checked by default, you can add the `checked` attribute.
|
||||
|
||||
Here is an example of using the `checked` attribute:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user