I am doing a page programming task, and for a long time I cannot solve the "№5 “When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.” error. Please tell me what could be the problem?
Hey! i just checked out your webpage and there are a lot of syntactic errors in your html.
Which basically means that your code is not following the right syntax (grammar) rules of the language.
You should probably first solve those first.
You can find out what your errors are if you click on the down arrow on the html pane and click on analyze html.
And as for the problem with the task, you aren’t using a section with an id attribute of “features”.
Thanks for the advice, I tried to change the code, but the problem is still the same: (Maybe I’m tired, but I still don’t understand how to solve the problem.
I did as you said. Moving from navigation box to text works. But “Select Test Suite” from “FreeCodeCamp” shows all the same error: " 5. When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’ The .nav-link with href="#start" is not linked to a corresponding element on the page : expected null to not equal null AssertionError: The .nav-link with href="#start" is not linked to a corresponding element on the page : expected null to not equal null" I don’t even know what the problem might be. I’ve already tried everything