Add a Submit Button to a Form help!

Tell us what’s happening:

Your code so far

  <p>Click here to view more <a href="#">cat photos</a>.</p>
  <a href="#"><img src="" alt="A cute orange cat lying on its back."></a>
  <p>Things cats love:</p>
    <li>cat nip</li>
    <li>laser pointers</li>
  <p>Top 3 things cats hate:</p>
    <li>flea treatment</li>
    <li>other cats</li>
  <form action="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL">
    <button type="submit"><input type="text" placeholder="submit"></button></form>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:

You’re trying to put a text box inside your button. If you’re trying to give the button text it needs to be

   <button type="submit“> submit </button>

You are making a textbox by using what’s below.

<input type=“text”> 

1 Like

Look mate, you made a mistake.
You need to only give the detail about the button type and what it needs to be named of.
You don’t need to be adding the input and stuff. So, this is the answer.

Have a Nice Day!


You are almost correct all you have to remove is the input tag between opening and closing of button tag, and add a text between <button>text</button>