Been away for a while & need some help

Tell us what’s happening:
I’ve been away for half a month & I was working on this but life happened & I lost my original code. I tried multiple different ways to answer this but I’m missing it, can I please ask for help again? I

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"><button>submit</button> <button type="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/81.0.4044.129 Safari/537.36.

Challenge: Add a Submit Button to a Form

Link to the challenge:

This line <button>submit</button> <button type="submit"</button> is what is causing you not to pass the test.

<button>submit</button> this part of your code creates a submit button (but it’s missing the type).

<button type="submit"</button> this part of the code creates a submit button with the type=“submit”, but it’s missing the > tag on the opening element. NOTE This button in the current form will not have a name on the button because nothing is specified between >....<

1 Like

Thank you John, I read into the instructions too hard, Thank you