Please if anyone can help with this

I keep getting this message…
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>
<form action=""> <input type="text">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15

Challenge: Create a Form Element

Link to the challenge:

Hello @Quincy2 ,

I think your input element is missing an attribute… In addition, I’d put it below the form element line, so it is clearer

Hope it helps!

1 Like

Hello @Quincy2,

The issue is that you updated the input tag that was provided into the code before you proceed to its update. I suggest you to rest the code to see how was the code or I can give it back to you:

Your <input> tag:

<input type="text">

The one inside the original code:

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

thank you so much for your help, it worked :slight_smile:

hello LucLH,

thank you so much, that was exactly was I was missing, I was able to move forward yay!!!

1 Like

Congrats! Good luck for the next challenges and try your best to keep the original code. Only update what they ask you because it can create these kind of situations :wink:

1 Like

most def. this is a very useful tip :slight_smile:

1 Like

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