Creating a Form Element Input

Tell us what’s happening:
Describe your issue in detail here.
I have been trying to create a form element and it keeps saying " The existing input element should be nested within a form element."
I think I have done that but its not working. Please somebody help

  **Your code so far**

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

<form action=""><input></form>

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

Challenge: Create a Form Element

Link to the challenge:

This one is a bit tricky, in my opinion, because the form element isn’t anything you can see on the page, but you see only the input.

So, you need to put the already existing input into the form tag. It’s that simple. Just give it a try.

This is the form element. You have put a <input> tag here but your actual input element is several lines later, here:

It is not inside the form element.

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