fix(curriculum): correct and improve the instruction (#47067)

* fix(curriculum): correct and improve the instruction

* apply jeremylt's suggestion

Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>

Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
This commit is contained in:
sidemt
2022-08-03 23:14:25 +09:00
committed by GitHub
parent a5188ec78b
commit de874000cd

View File

@@ -9,7 +9,7 @@ dashedName: step-42
Even though 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 make it clearer. Go ahead and do this to specify where this button should submit the form.
The button you added will submit the form by default. However, relying on default behavior may cause confusion. Add the `type` attribute with the value `submit` to the `button` to make it clear that it is a submit button.
# --hints--