question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Personal Portfolio navbar-link-test (7) not passing

See original GitHub issue

Issue Description

On the Personal Portfolio project, the test

  1. The navbar should contain at least one link that I can click on to navigate to different sections of the page

is not passing. I have 3 links on my navbar and they work (see code and CodePen link below)

Browser Information

  • Browser Name, Version: Firefox 79.0 (64-bit)
  • Operating System: MacOS HighSierra 10.13.6 (17G11023)
  • Mobile, Desktop, or Tablet: Desktop

Your Code / Link to Your Pen

<navbar id="navbar"> <a class="menu-link" href="#welcome-section">HOME</a> <a class="menu-link" href="#projects">PROJECTS</a> <a class="menu-link" href="#profile-section">PROFILE</a> </navbar><section id="welcome-section" class="anchor"><section id="projects" class="anchor"><section id="profile-section" class="anchor">

https://codepen.io/agathasta/pen/ExKZNOd

Screenshot

Screen Shot 2020-08-23 at 22 38 02

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lasjorgcommented, Aug 24, 2020

@Sky020 Thank you for the example.

That is what I imagined as well. Not sure we can really account for an extra overflow box like that. It’s sort of hijacking the window scroll so the scrollY position never changes.

Also, it looks to be the combination of both the height and overflow-y properties. Either one on it’s own passes the test but if used together makes the test fail (scrollY never changes).

Not sure there is much we can do. I would have to think about it to see if there is some other way to check the scroll position.

0reactions
Jdanomcommented, Aug 7, 2021

Thank you for reporting this issue.

This is a standard message notifying you that the issue has become stale, so we are going to close it.

If you think we’re wrong in closing this issue, please request for it to be reopened. Thank you and happy coding.

I’ve been trying to do this challenge for hours I didn’t know why links were not working. I’ve read somewhere that could be fixed by inserting this snippet at the top of the pen

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

found out that it fixes the issue but it overflows the whole page ( I don’t know why I’m just a newbie)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Personal Portfolio Test 7 not passing, timeout problem
I made my code as barebones as possible and test 7 is not passing. I get timeout. Response: The navbar should contain at...
Read more >
freeCodeCamp: PERSONAL PORTFOLIO WEBPAGE - YouTube
Free Discord Group: https://www.dorscodingschool.com/discord▻ Get the solution to these problems and an eBook on 'How to Become a ...
Read more >
Build a responsive personal portfolio website using HTML ...
In this lesson we will use HTML, CSS, and a little bit of JavaScript to build a mobile first responsive personal portfolio website....
Read more >
Don't waste time on a (React) portfolio website - 60+ hiring ...
Junior web developers think they need a portfolio website to get a job. But do hiring managers even care? The results of this...
Read more >
The Importance of a Portfolio - CofC Career Center
A portfolio is a living and changing collection of records that reflect your accomplishments, skills, experiences, and attributes. It highlights and.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found