I am unable to Nest the existing input element inside a form element, please help because I am stag

please help me to complete this task. I tried doing it but my test results says :

// running tests
The existing’`input ''element should be nested within a form element. /
/ tests completed

this is my task:
Nest the existing input element inside a form element and assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>

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

<p> <a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
</p>

 <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>   
<form action="https://www.freecatphotoapp.com/submit-cat-photo"></form>
</p>
</main>
   **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

Hello @Lekutur simply make the input the child of the form element( I mean put it inside the form element) Here’s an example that think would help =>

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

Good morning Solomoni, I cant see your example. unless if it is all this =>

Good morning Lekutur, I don’t know why it has failed to show,but let me try to figure it out again

I think it’s somehow clear and u’re able to see it Lukutur.

Thanks a lot @Solomoni. I appreciate your help.

1 Like

U’re welcome @Lekutur ~#Stay_blessed

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