What is nesting about

Tell us what’s happening:
Describe your issue in detail here.

   **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>
   <li>cat nip</li>
   <li>laser pointers</li>
 <p>Top 3 things cats hate:</p>
   <li>flea treatment</li>
   <li>other cats</li>
<input type="text" placeholder="cat photo URL"</input>
   **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

What is your question? nesting?

nest is means: you put the input element inside the form element.

1 Like

like this :


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.


So what the question is asking you to do is basically wrap the existing input (found on line 19) in open and close form tags.

The second part to this problem is after you place your form tags around your input tag on line 19 your open form tag needs to include an action inside of the open tag. This action will submit the data entered in the input box to a server connected to the site.

*Correction. It should read the li tags are nested inside the ul tags

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