Please i dont know whats happening so far

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

   **Your code so far**
<html>
<body>
 <h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<ul> 
 <li> Child Element 1 </li>
 <li> Child Element 2 </li>
 <li> Child Element 3 </li>
</ul>
 <!-- TODO: Add link to cat photos -->
 <p>Click here to view more cat photos.</p>
 </main>
</body>
</html>
   **Your browser information:**

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

Challenge: Step 6

Link to the challenge:

Hi there!

By this step, you should have only a h2, a comment and a p element nested inside your
main element, as done in the previous lesson.

This step in particular is focused on the importance of HTML formatting for a better look and feel.
Every child tag should be indented inside of its parent tag to improve readability, like the example shown in the step:

<ul> 
  <li> Child Element 1 </li>
  <li> Child Element 2 </li>
</ul>

So this lesson is asking you to do the exact same for the h2 , comment and p elements nested inside the main element.

i dont understand anything pls help :sleepy: :sleepy:

Well, this step is asking for you to format this code according to the usual HTML formatting guidelines that makes it easier for humans to read and understand. (You can read more about HTML formatting here)

In this step, you should have one parent element main and three child elements nested inside it:<h2>, <!----> and <p>.

Therefore, you should format the whole code snippet just like the project is showing in their example:

<ul> 
  <li> Child Element 1 </li>
  <li> Child Element 2 </li>
</ul>

The elements are all one right below the other and the child elements are indented by two spaces.

thanks so much :pray: :pray: :pray: :pray: :pray: :handshake:
i did it
do you have a social media i can contact you on ???
i really appreciate
thanks so much

1 Like

Glad I could help!
I guess you could check out my github lol and codepen

i followed you on git hub

Well, now I am following too on GitHub)

2 Likes

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