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 jQuery Basics Understanding jQuery Events and DOM Traversal Understanding Unobtrusive JavaScript

Noah Fields
Noah Fields
13,985 Points

Does the "keep up the momentum" graph count as a nonessential JS feature?

On occasion, the graph titled "keep up the momentum" at the end of each step doesn't load properly, or at all. Is this an example of an optional Javascript enhancement that enhances the page without being required, like is discussed in this video?

2 Answers

Abraham Juliot
Abraham Juliot
47,353 Points

Yes, the graph is not essential. Not sure why it's not loading for you :(

But, this site is not designed with an unobtrusive approach. If you turn off javascript, you will not be able to watch the videos or view the courses content list. All that is delivered via javascript.

When a site or page must rely heavily on javascript to deliver essential content, the noscript tag should be used to instruct users to turn on their javascript.

If you replay the video, it doesn't show the graph.