fix(curriculum): improve wording (#44605)
* Fix: Removed words from steps 42 & 58, made changes to steps 41 & 45 (Beta) * Made the suggested change by removing the word 'Note' * Changed 'last' to 'previous' in step 58 Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
This commit is contained in:
@ -9,7 +9,7 @@ dashedName: step-41
|
||||
|
||||
Use the `button` element to create a clickable button. For example, `<button>Click Here</button>` creates a button with the text `Click Here`.
|
||||
|
||||
Add a `button` element with the text `Submit` below the `input` element. Note the default behavior of clicking a form button with any attributes submits the form to the location specified in the form's `action` attribute.
|
||||
Add a `button` element with the text `Submit` below the `input` element. The default behavior of clicking a form button without any attributes submits the form to the location specified in the form's `action` attribute.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -9,7 +9,7 @@ dashedName: step-42
|
||||
|
||||
Even through you added your button below the text input, they appear next to each other on the page. That's because both `input` and `button` elements are <dfn>inline elements</dfn>, which don't appear on new lines.
|
||||
|
||||
You learned previously that the button submits the form by default, but you can explicitly add the `type` attribute with the value `submit` to it to make it clearer. Go ahead and do this to specify this button should submit the form.
|
||||
You learned previously that the button submits the form by default, but you can explicitly add the `type` attribute with the value `submit` to make it clearer. Go ahead and do this to specify this button should submit the form.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -7,7 +7,7 @@ dashedName: step-45
|
||||
|
||||
# --description--
|
||||
|
||||
The `id` attribute is used to identify specific HTML elements. Each `id` attribute's value must be unique all other `id` values for the entire page.
|
||||
The `id` attribute is used to identify specific HTML elements. Each `id` attribute's value must be unique from all other `id` values for the entire page.
|
||||
|
||||
Add an `id` attribute with the value `indoor` to the radio button. When elements have multiple attributes, the order of the attributes doesn't matter.
|
||||
|
||||
|
@ -7,7 +7,7 @@ dashedName: step-58
|
||||
|
||||
# --description--
|
||||
|
||||
Add a final checkbox after the previous one with an `id` attribute value of `energetic`. The `name` and attribute should be the same as the last checkbox.
|
||||
Add a final checkbox after the previous one with an `id` attribute value of `energetic`. The `name` attribute should be the same as the previous checkbox.
|
||||
|
||||
Also add a `label` element to the right of the new checkbox with text `Energetic`. Make sure to associate the `label` element with the new checkbox.
|
||||
|
||||
|
Reference in New Issue
Block a user