Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Richard Feinburg
Richard Feinburg
2,970 Points

jQuery not working


Above is the link of my working website. I'm making a one page presentation for my company and I can't keep the <nav> dot solid anymore. It use to work but now it's not working anymore when you go to a different section of the page.

Second question is when you hit the last section the color of the top bar .header is not changing and I need to scroll a little bit farther to get it to change white. How can I push it down a few pixels to active it?

2 Answers

Jacob Miller
Jacob Miller
12,466 Points

Not sure about your first question, but your second question can be solved by changing the > operator in line 2 of your custom-script.js file to a >= operator.

James Barnett
James Barnett
39,199 Points

I'm not sure what's not working.

I'd suggest you make a reduced test case on codepen and link it back here, also a screenshot here with an annotation of what's broken finally update your original post with what browsers you've tried it in .