Skip to content

Commit

Permalink
fix(curriculum): correct "an checkbox" to "a checkbox" (freeCodeCamp#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Shiva-Sai-ssb authored Oct 17, 2024
1 parent 068c5a7 commit be6002f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit be6002f

Please sign in to comment.