When I run my tests for the “Build a Personal Portfolio Webpage” project I get a script error for #7 . The navbar should contain at least one link that I can click on to navigate to different sections of the page.
Is this because my code is incorrect or does FreeCodeCamp need to fix something here?
Your code is incorrect… you must create a navbar that can make u navigate to different sections of the page.
Try to add an id at different sections of the page. Then, create “anchors”. Those anchors must have a link to the respective part of the page
Hope that helps! Good luck!
I’m not able to duplicate the issue you’re seeing. When I run the test script is runs successfully and shows you pass 12/12 tests.
Are you still seeing it?
What browser are you using?
Have you tried clearing browser cache?
I do see a couple of things in your HTML code that you should clean up but they would not cause the test script to throw a message.
you have a duplicate id. An id must be unique within the document
do not use the <br> element to force line breaks or spacing. That’s what CSS is for.
There are a couple of issues with your CSS code too. Run the built-in ‘CSS Analyze’ to see them but again, they would not cause an issue with the test script.