Hi there!
I’ve checked in codepen and your code is working
It’s just that the sections with corresponding ids are fitting in the viewport, that’s why you don’t see any changes.
However, once the sections are out of the viewport you’ll see that your nav links are working just fine
You can test them by changing height property of a section, for example:
And, the test is checking if the page is scrolling as you click on the links.
Since there’s no content yet under ‘sections’, the page is not scrolling, that’s why the test is failing.
If you put some content in the sections the test will pass.
Edit: Actually, if you fulfil user story 2 in #Layout, the test will pass since the sections will be moved out of the viewport.
2. The height of the welcome section should be equal to the height of the viewport.
thank you very much!! You´re very right!!! As it doesnt scroll because there´s no content then the test fails. But as soon as I edit the height it passes the test.