Help me on how to; Add the type
attribute with the value submit
to the button
to make it clear that it is a submit button.
So the forum can assist, please post your full code and any error messages displayed.
Use the following method to post code to the forum:
- On a separate line type three back ticks.
- On a separate line paste your code.
- On the last line type three back ticks. Here is a single back tick `
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 inline elements, which don’t appear on new lines.
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.
<type=“Submit”
cats.
Cat Form
<type=“Submit”
Sorry, your code does not pass. Keep trying.
Your button element does not have a type attribute. Check that there is a space after the opening tag’s name.
Hello!
Please you have pasted your code, but not wrapped it in backticks.
You need to wrap your code in backticks like so:
Or paste your code here and then select your whole code and then click on this button.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.