Input form nested to form element

Hey! I got an issue while trying to solve the beginer course. I don’t know how to nest the input element within the form element … can somebody help me ? I’m also new into programming so… :slight_smile:

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>
 <input type="text">
<form action="https://freecatphotoapp.com/submit-cat-photo"> </form> 
</main>

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

Hi @antonio.grosu!

Welcome to the forum!

<!--This is nesting-->
<form>
<input>
</form>

Don’t forget the placeholder in the input.

Here is the challenge that introduced “nesting” html elements:

1 Like