Hello!
I’m working on the Technical Documentation Project, when I came across this HTML in the example:
<ul>
<a class="nav-link" href="#Introduction" rel="internal"><li>Introduction</li></a>
<a class="nav-link" href="#What_you_should_already_know" rel="internal"><li>What you should already know</li></a>
</ul>
Shouldn’t the the anchor be included within the list item? I think I remember reading on Codecademy that anchors must be included within the list item because the only child to a ul should be a li. Is this rule obsolete? Or are there exceptions to the rule? If not, maybe the HTML in this example should be updated, because others newbies like me might be a little confused.