Script error on Web Design project

Hey everyone. Does anybody know how can I fix this error? I’ve had several problems with this project.

script error

https://codepen.io/Alejandrox1/pen/MWJzovV?editors=1100

Thanks in advance for your time :wink:

This is the error I’m getting for 7:

  1. The navbar should contain at least one link that I can click on to navigate to different sections of the page.
    At least one navbar link should move the page position when clicked : expected false to be true

And I have confirmed that your page does not scroll to the section pointed to in the links in your nav. That is your issue. You need to figure out why your page isn’t scrolling when you click on the nav links.

Yes, but I have no idea why that is not happening :confused:

I cannot view your pen

Have you deleted it?

Yes, I’m sorry, did it by mistake. I think the script has the problem. To corroborate my hypothesis I copied & pasted the Personal-portfolio-example code (this one https://codepen.io/Alejandrox1/pen/poRGRYW) on my new pen (this link: https://codepen.io/Alejandrox1/pen/yLgZgwP)-and it has the same problem. If you pay attention to the “Select Test Suite” square, when you click on “Run Tests” once, the button below shows “testing 7/12”, if you click again it changes to 11/12. And if you click a third time it changes to 12/12.
Have no idea how to fix the issue.

When I have tried , It was 7/12 and then, without clicking, The test automatically changes from 7/12 to 12/12.

while the button is yellow it is still testing, it is not immediate for some things, it can take 1-2 seconds for all tests to complete

this one took 1.5 seconds for example
image

1 Like

I see. Well, that explains a lot. Thanks to both of you.

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