mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-28 21:00:56 +08:00
fix(curriculum): reversed the order of the input and label elements (#64261)
This commit is contained in:
parent
f4494c9038
commit
fd2a32fe59
@ -190,11 +190,11 @@ Review the concepts below to prepare for the upcoming prep exam.
|
||||
<fieldset>
|
||||
<legend>Was this your first time at our hotel?</legend>
|
||||
|
||||
<label for="yes-option">Yes</label>
|
||||
<input id="yes-option" type="radio" name="hotel-stay" value="yes" />
|
||||
<label for="yes-option">Yes</label>
|
||||
|
||||
<label for="no-option">No</label>
|
||||
<input id="no-option" type="radio" name="hotel-stay" value="no" />
|
||||
<label for="no-option">No</label>
|
||||
</fieldset>
|
||||
|
||||
<!-- Checkbox group -->
|
||||
@ -203,11 +203,11 @@ Review the concepts below to prepare for the upcoming prep exam.
|
||||
Why did you choose to stay at our hotel? (Check all that apply)
|
||||
</legend>
|
||||
|
||||
<label for="location">Location</label>
|
||||
<input type="checkbox" id="location" name="location" value="location" />
|
||||
<label for="location">Location</label>
|
||||
|
||||
<label for="price">Price</label>
|
||||
<input type="checkbox" id="price" name="price" value="price" />
|
||||
<label for="price">Price</label>
|
||||
</fieldset>
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user