Technical Documentation Page
Test Errors
i have implemented the necessary User Stories, but i keep getting error notifications when i run the Test.
Please can someone help me out. this is the link to the page Technical Documentation Page
i have implemented the necessary User Stories, but i keep getting error notifications when i run the Test.
Please can someone help me out. this is the link to the page Technical Documentation Page
Hi,
I think I have managed to find the errors:
#
:<section class="main-section" id="#What_you_should_already_know">
<li><a class="nav-link" href="#if_..._else_statements">if...else statements</a>
<li><a class="nav-link" href="#if...else_statements">if...else statements</a>//correct version
Hope this helps
Check the ids of the main-section elements, as the error message points out:
Each element with the class of “main-section” should also have an id that corresponds with the text of each contained within it. Any spaces should be replaced with underscores (e.g. The that contains the header “Javascript and Java” should have a corresponding id=“Javascript_and_Java”).
AssertionError: Some “main-section” elements are missing the following ids (don’t forget to replace spaces with underscores!) : What_you_should_already_know,if…else_statements : expected 2 to equal 0
that was indeed the problem, your solution worked just fine