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

HTML

Jesse Gonzalez
Jesse Gonzalez
7,322 Points

ScrollSpy isn't highlighting my Nav

help?

Tomas Schaffer
Tomas Schaffer
11,606 Points

Are you using some library or just linking element id?

Jesse Gonzalez
Jesse Gonzalez
7,322 Points

Doing the bootstrap lesson on ScrollSpy. My nav elements aren't highlighting.

Tomas Schaffer
Tomas Schaffer
11,606 Points

If i dont see your code i cant help you more. Check bootstrap documantations. https://getbootstrap.com/docs/4.0/components/scrollspy/

1 Answer

Ben Colgan
Ben Colgan
22,695 Points

It’s because bootstrap changed some of the class names slightly in newer versions so if you did what I did you used the latest version of bootstrap but used the old naming conventions used in the lesson so it doesn’t work, you just need to look at the documentation on the bootstrap website and use the updated class names on the parts that aren’t working correctly