Hi where am I going wrong here :)

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

</main>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Forget it i figured it out.

The closing tag of form is placed wrongly

Take a good look at the example code

<form action="/url-where-you-want-to-submit-form-data"></form>

does it just end after form? or does it end where excatly?

1 Like

Thanks it took me a while to figure it out but got there in the end.