Skip to content

Commit

Permalink
fix(curriculum): clarify wording for radio and checkbox options (free…
Browse files Browse the repository at this point in the history
  • Loading branch information
itzVarsha authored Dec 2, 2024
1 parent 3d95bd9 commit 00bb437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ dashedName: step-46

You can use radio buttons for questions where you want only one answer out of multiple options.

Here is an example of a radio button with the option of `cat`:
Here is an example of a radio button with the text set as `cat`:

```html
<input type="radio"> cat
```

Remember that an `input` element is a void element.

Before the text input, add a radio button with the option set as:
Before the text input, add a radio button with the text set as:

`Indoor`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dashedName: step-56

Forms commonly use checkboxes for questions that may have more than one answer. The `input` element with a `type` attribute set to `checkbox` creates a checkbox.

Under the `legend` element you just added, add an `input` with its `type` attribute set to `checkbox` and give it the option of:
Under the `legend` element you just added, add an `input` with its `type` attribute set to `checkbox` and its text set to:

`Loving`

Expand Down

0 comments on commit 00bb437

Please sign in to comment.