I keep getting this message…
input element should be nested within a
**Your code so far**
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<p>Things cats love:</p>
<p>Top 3 things cats hate:</p>
<form action="https://www.freecatphotoapp.com/submit-cat-photo"> <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!
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:
The one inside the original code:
<input type="text" placeholder="cat photo URL">
thank you so much for your help, it worked
thank you so much, that was exactly was I was missing, I was able to move forward yay!!!
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
most def. this is a very useful tip
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.