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

Reggie Sibley
6,018 PointsJquery
So, i'm having a hard time understanding exactly what everything does in Jquery. such as the DOM and what in simplest form. Jquery actually changes or does. does it actually make changes to HTML or CSS? or does it just add effects to it? I have a decent understanding of it. but not quite sure what Jquery's primary job is. Hopefully this makes since...
1 Answer

Erik Nuber
20,629 PointsjQuery can modify the html, css and effect the DOM. I would definitely encourage you to try reading thru the W3Schools.com website on jQuery and try freecodingschool.com to get the basics of jQuery. For me, just reading thru the documentation on W3Schools gave me a much better understanding and, going to back watch the videos made much more sense.
for example...
this would allow you to put in new html
$('.yourClass').html( "<p>All new content. <em>You bet!</em></p>" );
this would allow you to modify css
$('#yourID').css("color", "purple");
modify the DOM
$('your element').remove();