Using Classes in jQuery
jQuery makes it easy to add a class to a selected element, or elements. Likewise, it makes it easy to remove classes from the element. This allows you easily update your page layout dynamically. You may want to use classes instead of Directly Applying your CSS Rules because it will make updating the design and…