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 trialDaniel Gonzalez
5,312 PointsJQuery in Object Oriented JavaScript?
I've completed watching the course for OOJS and am now going back for review. I was wondering, is it common to use JQuery in OOJS? It seems like things would run much better and you'd have much cleaner code if you followed OOJS concepts with JQuery for DOM manipulations.
1 Answer
Jordan Watson
14,738 PointsWell ideally I think that is the point in a library that is jQuery. It has its quirks that allow you to easily manipulate the DOM and traverse with ease. Its powerful which also makes it easier to select elements on the page and storing them in variables as objects that can be referred to later. Generally speaking learning or using jQuery tends to be easier for some than RAW JavaScript its personal preference wether or not to use jQuery in your workflow.