I cant nest form tag and input tag

i cant nest form tag and input tag:

Your code so far

 <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>
   <li>cat nip</li>
   <li>laser pointers</li>
 <p>Top 3 things cats hate:</p>
   <li>flea treatment</li>
   <li>other cats</li>
<input type="cat photos" placeholder="cat photo URL">


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

The error message you are getting is:

" Your text input element should be nested within a form element."

To nest an element (A) inside of another element (B) means that A should be placed within the opening/closing tags of element B. Does your code currently nest input inside of the form opening/closing tags?

1 Like