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

Qasim Hafeez
Qasim Hafeez
12,731 Points

How would jQuery work with JavaScript disabled?

Towards the end, Andrew says the previous 5 projects would work if JavaScript was disabled? How is this possible? jQuery is JavaScript, so how can it work ?

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

jQuery itself wouldn't work, and you would lose the features you added with jQuery/JavaScript but the pages would still have basic functionality. The gallery will still work, you'll just click through to the images instead of showing a lightbox. The username/password will still submit fine, it just won't be checked on the client-side first. More "fails gracefully" than "works 100%".