User Story #10: Additionally, the navbar should contain link ( a
) elements with the class of nav-link
. There should be one for every element with the class main-section
.
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”).
I have errors coming for two user stories. I think I can clear US#12 if I correct US#10. I don’t what I lost
The error that I am getting for US#10 is give below
AssertionError: There should be one .nav-link for every element with the class of “main-section”, and every .nav-link should be within #navbar : expected 1 to equal 5
Here is my CodePen:
https://codepen.io/aseerkt/pen/jObVoNG
Pls help me with this
Thank You.