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 trialcyber voyager
8,859 PointsJs vs jQuery
When should I use plain JavaScript and when should I use jQuery?
3 Answers
Richard Hall
9,139 PointsIn personal projects, whatever you want.
If you feel proficient in one and want to get better at the other one, practice with it. You can even do both. Make a project in jQuery, then do it again in vanilla JS, Vue, React, etc.
Youmightnotneedjquery is a good site to check for some common examples of things you would normally reach to jQuery to accomplish, but can use vanillaJS for.
Justin Radcliffe
18,987 PointsI would use jquery to save time and lines of code when implementing complex functionality in apps and user interfaces; and flat javascript when working on a relatively simple website / app with limited functionality.
cyber voyager
8,859 PointsThank you guys :) very much appreciated.