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 (2014) Creating a Simple Drawing Application Preparation

Aaron Selonke
Aaron Selonke
10,323 Points

The other examples can be run without JavaScript?

Andy mentions at the end of the video that JavaScript needs to be turned on in the browser for the HTML5 Canvas element and all of its functions to work, And then says that all of the previous jQuery programs would run without JavaScript?

Why is that? Isn't jQuery JavaScript? How can all of the previous projects in the jQuary basics course run without JavaScript?

1 Answer

Shane Oliver
Shane Oliver
19,977 Points

What he means is, even without JavaScript on in the browser the user can still view the other projects and interact with them in a limited way. But the Canvas API has no fallback when there is no JavaScript - It just won't work