Cant seem to get this right

Hey guys, i am having difficulty with completing this test, it`s seems to me that i completed all the user stories but keep failing number 10 (Additionally, the navbar should contain link () elements with the class of “nav-link”. There should be one for every element with the class “main-section”.)
Ive been on it like 10 hours, googled my a** off and still nothing that pops in my eyes that i did wrong.
Could you please take a look and help me pass this test?

Here is my code

Chrome Version 81.0.4044.138

Challenge: Build a Technical Documentation Page

Link to the challenge:

You have a syntax error for the class attribute on the Variables section element (missing =).

You have:

<section class"main-section" id="Variables">

1 Like

Thank you for the fast reply @lasjorg ! I corrected it and everything is fine now.

Happy to help.

I’d suggest switching the Syntax Highlighting on Codepen, it can really help catch errors.

Go to your Codepen profile settings (not the setting for the pen, but for your profile). Now switch the Syntax Highlighting to Oceanic Dark and save the setting.

Go back to the pen and make sure your new setting is working, the code highlighting will use different colors. Press the down arrow to the right of the HTML code box and select Tidy HTML.

Look at the HTML, if there are issues you should see tags marked in red. That is the new Syntax Highlighting showing you where the problems are.

Happy coding!

1 Like

I did as you said and it’s great, i didn’t knew about this feature, if i knew i would found my error within seconds, just like you did. Well this will make my life a little bit easier.
Thank you again, kind sir!