Form element in HTML

Tell us what’s happening:
Here is my code so far. I’m not sure what I am missing. I attempted to nest the input element within the form element. Can anyone help?

  **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>
</form>
</main>
  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

Your opening form tag should be closed:

<form action="link here">
</form>

You also should have used the input that was already there as it was without changing it.

1 Like

Ok, I have it in this format. The previous link is the same as the link in the instructions. Does this mean I have to reset all code?

Yes im afraid so. When you do, dont add an input because there is one alredy in code. Just put that input inside your form.

Got it! Ill give it a go. Thank you.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.