0

Submit Button Appears As Text Input

This excerpt from my Landing Page Project is supposed to create a form with a submit button, but instead it appears as an input field for text. I've looked back at the lessons and can't see where I'm going wrong, and I've tried changing it to a button element with the value "Submit", but that just makes a very tiny rectangular button with nothing on it. Any help or advice is greatly appreciated. Thank you. https://code.sololearn.com/WC7HgQ230U8G/?ref=app

28th Sep 2023, 7:19 PM
Stephen Cloe
Stephen Cloe - avatar
10 Respuestas
+ 3
Line 28 type="sumbit" is wrong spelled, change it to submit
28th Sep 2023, 7:38 PM
JavaBobbo
JavaBobbo - avatar
+ 1
JavaBobbo Thank you, I accidentally deleted my progress coming to answer and must not have realized that not only had I closed the ordered list (which *was* causing problems, just not the button problem), but I had also corrected the spelling— I can be very absent-minded lol.
28th Sep 2023, 7:49 PM
Stephen Cloe
Stephen Cloe - avatar
+ 1
I see hehe, glad to hear you fixed it :)
28th Sep 2023, 8:09 PM
JavaBobbo
JavaBobbo - avatar
0
The input element in question is <label for="SubmitButton">Submit</label> <input type="sumbit" value="Submit" id="SubmitButton"> Starting on line 27
28th Sep 2023, 7:20 PM
Stephen Cloe
Stephen Cloe - avatar
0
I dont really know about HTML But you could use "Button" instead of label
28th Sep 2023, 7:21 PM
D1M3
D1M3 - avatar
0
GamerGeil Hd When I tried to make it a button, it just gives me a very tiny blank button, despite telling it to display the text "Submit" on it
28th Sep 2023, 7:23 PM
Stephen Cloe
Stephen Cloe - avatar
0
You could try to use CSS to make it bigger
28th Sep 2023, 7:26 PM
D1M3
D1M3 - avatar
0
Nevermind, I found out the issue— my ordered list was not closed, and it was causing the issue. Thank you for your input GamerGeil Hd
28th Sep 2023, 7:36 PM
Stephen Cloe
Stephen Cloe - avatar
0
Oh sorry for giving you wrong things
28th Sep 2023, 7:38 PM
D1M3
D1M3 - avatar
0
GamerGeil Hd It's alright, they were good suggestions, just not what I was looking for.
28th Sep 2023, 7:50 PM
Stephen Cloe
Stephen Cloe - avatar