fix(curriculum): correct "an checkbox" to "a checkbox" (#56713)

This commit is contained in:
Shiva Sai
2024-10-17 14:48:05 +05:30
committed by GitHub
parent 068c5a7db0
commit be6002f62e
2 changed files with 2 additions and 2 deletions

View File

@@ -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');

View File

@@ -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: