I cannot figure out how to nest my child elements in with the parent

I entered the nesting code

                                                                              <li> <h2> Cat Photos</h2></li>
                                                                              <li><!-- TODO:ADD  Name to cat photos--></li>      
                                                                             <li><p>click here to add more cat photos<p></li>

Describe your issue in detail here.

  **Your code so far**
    <li> <h2>Cat Photos</h2></li>
  <!-- TODO: Add link to cat photos -->
    <li> <p>Click here to view more cat photos.</p></li>
 <ul> </main>
  **Your browser information:**

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

Challenge: Step 6

Link to the challenge:

You added a bunch of ul and li elements, but the challenge doesn’t want you to do that.

In the previous step, you nested the h2 element, comment, and p element within the main element.

Add two spaces in front of the three child elements of main so your HTML is more readable.

You should only add 2 spaces on 3 lines. Don’t add anything else to the starting code.

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