Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Richard Feinburg
Richard Feinburg
2,970 Points

jQuery not working

http://adhesivesquares.com/one-page/

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 .