how to add class using css code example
Example 1: jquery addclass
$("#elem").addClass("classname");
Example 2: Put a class in css
<html>
<head>
<style>
/* Make sure to use a full stop to instead only focus on the classname that is in your html page */
.class {
background-color: #eeeeee;
}
</style>
<head>
<body>
<div class="class">
<p>hi</p>
</div>
</body>
</html>