I don't know what to do now to complete it help please

Tell us what’s happening:

Your code so far


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

 <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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>
<form action="https://freecatphotoapp.com/submit-cat-photo"
submit-cat-phototype="text" placeholder="cat photo URL">
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-M315F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

You’re missing the input element inside of your form element, per the error given.

<form action="https://freecatphotoapp.com/submit-cat-photo"
submit-cat-phototype="text" placeholder="cat photo URL">
  <input type="text" placeholder="cat photo URL"> // this needs to go inside the form element
</form>

@FaizMohamm. I agree with @singhshemona.
you shouldn’t delete the existing input tag.
try @singhshemona’s code.

Can you please tell me what input elements am I missing

Just replace the form element you have now with the one I’ve provided.

Yeah I did it and completed the challenge thank you for your help

1 Like