Code is correct but not passing

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://freecatphotoapp.com/submit-cat-photo"
<input type="text" placeholder="cat photo URL"></form>

</main>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0.

Challenge: Create a Form Element

Link to the challenge:

Your form element (formatted for readablity):

<form action="https://freecatphotoapp.com/submit-cat-photo"
  <input type="text" placeholder="cat photo URL">
</form>

The opening form tag does not have a closing bracked, “>”.

When I add that in, your code passes.

1 Like