so if i go to my code in codepen the buttons dont work but in w3school it works is it the website or code? codepen:https://codepen.io/Not-a-bot-at-all/pen/VwKeRXM
w3schools:https://www.w3schools.com/code/tryit.asp?filename=GLFM4VPLS23D
1 Like
@mvalencia9707 You don’t need to rewrite html tag, head tag, body tag again in codepen
2 Likes
-
You’ve to nest all of your
input
tags under singleform
tag.
You’ve closed the form immediately after the first input tag(in codepen) -
required
attribute must be added to theinput
tag itself, not the label(check your label tag for email in w3schools link) -
as mentioned by @AndrewAung11, You’ve to write only the content inside
body
in the codepen html section. Stuff insidehead
can be added in pen settings
3 Likes
Now it works thanks @AndrewAung11 and @mukeshgurpude.
1 Like