mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): clarify wording for radio and checkbox options (#57343)
Some checks failed
i18n - Build Validation / Validate i18n Builds (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
Some checks failed
i18n - Build Validation / Validate i18n Builds (20.x) (push) Has been cancelled
CI - Node.js / Lint (20.x) (push) Has been cancelled
CI - Node.js / Build (20.x) (push) Has been cancelled
CI - Node.js / Test (20.x) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 20.x) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 20.x) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled
This commit is contained in:
parent
3d95bd9928
commit
00bb43725a
@ -9,7 +9,7 @@ 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
|
||||
@ -17,7 +17,7 @@ Here is an example of a radio button with the option of `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`
|
||||
|
||||
|
||||
@ -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`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user