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 trialA X
12,842 PointsEven though the video title is "What is jQuery" I walk away still not sure what it is or why we use it.
I've watched Andrew's beginning videos on jQuery now 3 times, and I'm still not understanding what jQuery is other than some kind of library of...commands? Can someone explain what jQuery is, why/when we use it, why the $ sign works as an abbreviation for jQuery, and what the DOM is that he introduces at the end of the video?
3 Answers
Jesus Mendoza
23,289 PointsHave you tried watching the Introduction to jQuery course?
Lee Zamastil
21,628 PointsPossibly helpful, too, is Chalkley's Beginnerβs Guide to jQuery listed in the Teacher's Notes.
Natasha Godwin
11,012 PointsjQuery is a JavaScript framework that solves the following problems:
- It smooths out inconsistencies that JS has across browsers. In this sense, it's similar to what normalize.css does for styling pages.
- It saves loads of time. What might take 10-20 lines of code in vanilla JS will only take one in jQuery.
In short, you can add interactivity to your site, without having to worry about inconsistent user experience or site performance.
That said, there are disadvantages. If JS is disabled in the browser, for example, jQuery won't work. So, I wouldn't recommend using it for simple animations or interactions; CSS is more reliable.
Vassyl Machnev
4,298 PointsVassyl Machnev
4,298 PointsThis is probably one of the worst courses available here,i don't even know why it's included in the Front-End track. Feels like it was made in a rush,i see no connections between the lections etc. It made me sad,because learning here was(and is) going really smooth exept this "jQuery course".