Playing with jQuery and the CSS class selector

Опубликовано: 22 Октябрь 2024
на канале: SitePoint
3,026
25

The CSS Class selector is very useful when you need to manage or apply CSS styles to multiple elements. Additionally the CSS Selector also has performance advantages and can be overloaded. All of this becomes more exciting, when jQuery is used to add/remove or toggle classes.

In this screencast, we'll take a look at how jQuery makes it easy to add/remove or toggle classes based on user events such as mouse-clicks and mouse-overs. Follow along with the code sample provided at: https://github.com/learnable-content/...

This screencast is a sample of my course - Introduction to jQuery https://learnable.com/courses/introdu... on Learnable. This course is designed to get you up and running with jQuery with practical and easy to use examples. If you like this screencast, then head over to Learnable.com to join this course today!