What is nesting about

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

   **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://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"</input>
</main>
   **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 :

Mod Edit : SOLUTION REDACTED

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.

Hello.

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.