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
10 odpowiedzi
+ 3
Line 28 type="sumbit" is wrong spelled, change it to submit
+ 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.
+ 1
I see hehe, glad to hear you fixed it :)
0
The input element in question is
<label for="SubmitButton">Submit</label>
<input type="sumbit" value="Submit" id="SubmitButton">
Starting on line 27
0
I dont really know about HTML But you could use "Button" instead of label
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
0
You could try to use CSS to make it bigger
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
0
Oh sorry for giving you wrong things
0
GamerGeil Hd It's alright, they were good suggestions, just not what I was looking for.