Trying to get objective # 12 complete, which reads:
" User Story #12: Each element with the class of nav-link
should contain text that corresponds to the header
text within each section
(e.g. if you have a “Hello world” section/header, your navbar should have an element which contains the text “Hello world”). "
This is the error I get:
" Check that these headers have corresponding .nav-link elements and be mindful of case! : LOREM IPSUM DOLOR,ALIQUAM POSUERE QUIS,DUIS SED ODIO,ALIQUAM AUCTOR AUGUE,IN UT ELIT : expected 5 to equal 0
AssertionError: Check that these headers have corresponding .nav-link elements and be mindful of case! : LOREM IPSUM DOLOR,ALIQUAM POSUERE QUIS,DUIS SED ODIO,ALIQUAM AUCTOR AUGUE,IN UT ELIT : expected 5 to equal 0 "
I’ve checked, double checked, and triple checked all my ID tags to make sure they are exactly the same in the nav-link navbar element as they are in the header tag of each section. This is driving me insane, lol.
ANY SUGGESTIONS!?!?!? thanks in advance for any help!
Here’s my code:
MAIN TOPICS- 1
- 2
- 3
- 4
- 5
<header>lorem ipsum dolor</header>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut at nisi faucibus, elementum ante non, dapibus magna. Praesent aliquam venenatis lorem ullamcorper dapibus. Sed ut lectus mi. Nullam eget tortor suscipit, posuere lacus at, aliquet felis. Aliquam erat volutpat. Duis et urna consequat, dapibus eros sed, placerat metus. Praesent nibh nisl, consequat eu eleifend id, porttitor ut nulla. Fusce tincidunt ullamcorper augue id fringilla. Etiam in nibh vitae sem mollis dapibus.</p>
<code> x+y=z</code>
<p></p>
<code> x+y=z</code>
</section>
<br>
<section class="main-section" id="aliquam_posuere_quis">
<header>aliquam posuere quis</header>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut at nisi faucibus, elementum ante non, dapibus magna. Praesent aliquam venenatis lorem ullamcorper dapibus. Sed ut lectus mi. Nullam eget tortor suscipit, posuere lacus at, aliquet felis. Aliquam erat volutpat. Duis et urna consequat, dapibus eros sed, placerat metus. Praesent nibh nisl, consequat eu eleifend id, porttitor ut nulla. Fusce tincidunt ullamcorper augue id fringilla. Etiam in nibh vitae sem mollis dapibus.</p>
<ul>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
</ul>
<p></p>
</section>