Nesting input element within a form tag 1

I keep getting the message that " The existing input element should be nested within a form element" and I still don’t know how to fix my code, can someone please help me.

<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="">
<input type="text" placeholder="cat photo url">
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.153 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

It looks like you changed the original input element:

  <input type="text" placeholder="cat photo URL">

The test didn’t want you to change that original input element at all, not even capitalization.

1 Like

Thank you, the code started to run now.