Tell us what’s happening:
Describe your issue in detail here.
the message is ,I should place h2 elements below the opening tag of the main tag
**Your code so far**
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/22.214.171.124 Safari/537.36
Challenge: Step 6
Link to the challenge:
This step 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 this:
<li> Child Element 1 </li>
<li> Child Element 2 </li>
So this lesson is actually asking you to do the exact same for the h2 , comment and p elements nested inside the main element. You’re supposed to indent the child elements with whitespace.
please what does this mean: Your
h2 element should be below the
main element’s opening tag and its opening tag should start 6 spaces over from the start of the line.
The markup will just work fine if you don’t indent things at all. but for the readability purpose we indent things as said by @praxeds .
as for the challenge the H2, Comment and P all should be 6 space from the start of the line
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.