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**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<form action=""
  **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">

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.