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 trialAkhter Rasool
8,597 Pointsis jQuery Object Oriented?
is jQuery Object Oriented? I've done a project mostly on jQuery, have i missed out on object oriented concepts? Can you also tell me which is better vanilla javascript or jQuery ?
1 Answer
Erik Nuber
20,629 PointsJavaScript is object-oriented, but is not a class-based object-oriented language like Java, C++, C#, etc. Class-based OOP languages are a subset of the larger family of OOP languages which also include prototype-based languages like JavaScript and Self.
jQuery is a library for JavaScript that makes certain things easier to accomplish. The lessons on the site are a bit tough to grasp but when you start understanding and go back to them again they make much more sense. I struggled understanding jQuery myself but, now that I have a better handle on it, I find that it is quite useful.