I don't know what is the mistake in button type it says it should have only submit

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="https://freecatphotoapformm/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
  <button type="submit">this button submits the form
  </button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36.

Challenge: Add a Submit Button to a Form

Link to the challenge:

you wrote this instead of just “Submit” as requested

Can’t understand plz explain it clearly

Your submit button should only have the text Submit .

what does your button has as text?

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="https://freecatphotoapformm/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
  <button type ="submit">
  </button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36.

Challenge: Add a Submit Button to a Form

Link to the challenge:

Hi @pragnya1132. Your submit button should have the text Submit so that it looks like <button type ="submit"> Submit </button>

1 Like

Thank u so much for helping

take out this button and the form and should good