Can i ask for help at this part

Tell us what’s happening:

Im struggling at this part : Create a Form Element - The existing input element should be nested within a form element.

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>
<input type="text" placeholder="cat photo URL">
<form action=""></form>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hi @Jeremiah_124. Welcome to FCC. The error message is quite clear. This is how you are supposed to nest existing input element inside form element.

     <input >

Hey @Jeremiah_124!
Welcome to the FCC forum.

You have nest input in the form tag.

If you don’t know nesting means here is an example.

    <p>some text here...</p> // here p is nested in its parent tag.

In your case, the input should be nested in its parent tag form

    // your code here.

Hope this helps you.

Thanks and happy coding!

i tried it in that order but still,it didn’t work

Here’s what i did

oh nevermind i figured it out thanks guys! :slight_smile:

1 Like