CSS nav-link class

Hello ladies and gents, I’ve been start to pass the 5th step of my tests on the landing page. I’m not sure what is being asked of me here. Can u please help??

  1. When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’

Link to your Codepen so we can see what you have tried.

You are asked to use what was taught in the challenge Link to Internal Sections of a Page with Anchor Elements.

  1. Add the .nav-link class to all your nav links.

  2. Create sections with id attributes corresponding to the href values of the links.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.