Javascript Ajax jQuery Html PHP Example Quiz New MORE
Need a Website Or Web Application.Contact : +91 9437911966 (Whatsapp) Note: Paid Service

jQuery addClass() method with example


<!DOCTYPE html>
<html lang="en">
    <script src=""></script>
    <meta charset="utf-8">
    <title>How to add class in jQuery</title>
        .container {
            width: 100%;
            border: 4px solid green;
            padding: 20px;
            background-color: orange;
        <h3>jQuery Tutorial</h3>
    <button type="button">Add Class</button>
        $(document).ready(function() {
            $("button").click(function() {
Run it Yourself »