Html button form did not create

Tell us what’s happening:

when i did the button submit thing as what the video taught me it still said i need it to do the attribute type and then button which i think i did and then nothing happened

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 type="/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 (X11; CrOS x86_64 12871.76.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.103 Safari/537.36.

Challenge: Add a Submit Button to a Form

Link to the challenge:

The type of the button should be lowercase.

<button type="submit">Submit</button>
1 Like