Submit or submit?

Tell us what’s happening:
I’m a newbie, & haven’t been able to code too often, I need some help & would you please point me in a better direction, if possible? Thank you all & have a great day.

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>Submit</button> <attrib type="submit" value="Submit"> </form> 
</main>

Your browser information:

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

Challenge: Add a Submit Button to a Form

Link to the challenge:

You added an incorrect element with the type submit after your button element. You need to remove this and instead add the type to your button element.

1 Like

Thank you, I knew I interpreted something wrong but I couldn’t tell what exactly.

1 Like