Create a Form Element-Input help

So while I was doing the Create a Form Element lesson it said I needed to include input within a form… I thought I already did though? I don’t exactly understand what to do so if someone can help it would be greatly appreciated!!


<h2>CatPhotoApp</h2>
<main>
 <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>
 <ul>
   <li>cat nip</li>
   <li>laser pointers</li>
   <li>lasagna</li>
 </ul>
 <p>Top 3 things cats hate:</p>
 <ol>
   <li>flea treatment</li>
   <li>thunder</li>
   <li>other cats</li>
 </ol>
 <input type="text" placeholder="cat photo URL">
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
 <input>
 </form> 
</main>

Challenge: Create a Form Element

Link to the challenge:

<input type="text" placeholder="cat photo URL">
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<input>
</form> 

You were supposed to wrap the form around the existing input. Instead you put the form after the existing input and added a new input. If I get rid of the new input and move the old one in there, it passes for me. Always read instructions closely.

@Joonie
Hope you’ve seen
@kevinSmith solution

thank you. It worked for me now.

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