I have been having issues writing the code for step 5. I don’t seem to understand the code to use.
What are you trying to do? What have you tried so far? What problems are you running into? How can we help?
HTML elements are often nested within other HTML elements. In the previous step you nested the
h2 element, comment and
p element within the
main element. A nested element is a child of its parent element.
To make HTML easier to read, indent the
h2 element, the comment, and
p element exactly two spaces to indicate they are children of the
I don’t seem to understand the instruction here.
<span>Here is an example without indents.</span>
<span>Here is an example with an indent. It's easier to read.</span>
I had the same issue, just add 6 spaces from the start of the line for the 2 children.
This should work
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.