freeCodeCamp Challenge Guide: Add a Submit Button to a Form

freeCodeCamp Challenge Guide: Add a Submit Button to a Form
0.0 0

#1

I got it!

< button type=“submit”>Submit


#2

What does the _form action="/submit-cat-photo"_do?
Do I need to include _action="/submit-cat-photo"_as an attribute?


#3
  • Create a new button element with the text “Like”.
  • Your new button should have the class btn.
  • Make sure all your button elements have a closing tag.

Got the first and last instruction but the “class btn” is the problem, I try hard but dont get it


#4

It just tells you what is supposed to be submitted
yes
< form action="/submit-cat-photo">submit

< /form>
I left spaces by < and> so you could see it