Submit button to a form attribute

submit button should have the attribute

type

set to

submit

.
how to write attribute?

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="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
  <button type="Submit">Submit
    </button>
</form>
</main>

Your browser information:

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

Challenge: Add a Submit Button to a Form

Link to the challenge:

Check the capitalization of first letter of submit in

 <button type="Submit">Submit </button>

You’ve already done several attributes, you probably just didn’t realize what they were called. Some attribute examples in the code above are href, src, alt, and type.

Yes, I recognized my mistake . Thanks