Hello all,
I have issues trying to resolve user story #4 and #5.
They require me to have a “nav-link” class for each nav element and I did so by classifying it in the <nav >
tag instead of each nested <a>
element as shown below.
<nav id="nav-bar" class="nav-link">
I understand I have to give each <a>
element the class to pass this test but I do not know how to without ruining the code.
Secondly, I am having issues with the nav-links as well. It seems to work fine for me and transports me to a specific section of the page but it does not pass the test.
Any help will be greatly appreciated!
Here is the link to my code:
https://codepen.io/Rynell-lee/pen/OJmbOdG