Need help passing "link" test on Portfolio Page SOLVED

Hello!

I am desperate to figure out why I am not passing test 7 on my Portfolio Page.

Test is here: 7. The navbar should contain at least one link that I can click on to navigate to different sections of the page

Here is link to my page. Please help! Thank you!

I’ve been struggling for 2 days with this one… its driving me crazy! How did you solve it??

Hi Andrew. My problem was that I had links but the test would not recognize them for some reason and I figured out why! I had one part of my navigation bar that did not have a link (under the language). I removed that language (cause i really did not need it) and test worked. So I believe the test is looking for links in every word on your navigation bar.

Hope this helps. Please feel free to share your pen here.

3 Likes

Thanks snowpear.

My nav bar is as simple as possible with only 3 links. But test still not passing. I’ve really taken the site apart to get rid of any unneeded code but still no luck. :frowning:

https://codepen.io/kwintowski/pen/zjMjma

If you could please have a look id be greatful!

2 Likes

Ok, i tried a few things. I am not an expert in coding unfortunately, but hopefully, I can give you an idea.
There is something wrong with CSS codes.
when I removed everything from CSS side, test passed.
Please keep me posted!

2 Likes

Thanks snowpear!

// overflow-x: hidden;

seems to do the trick.

I think I had that in there from some original iterations of the site and no longer needed it.
Not really sure how that affects the test or the site?

Many thanks!
Andrew

3 Likes

I am so glad it worked now!!! Your page looks very cool!

1 Like

Genius troubleshooting… Thanks.

Put this code in the beginning document.

<style>
    section { height: 100vh; }
</style>

Solution by jm18457

5 Likes

why we did so ? can you explain

i wonder about that too