[Solved] how to add css on click and remove it when they click close button [closed]


HTML

   <button id="start">Start</button> 
     <button id="close">Close</button> 

JS

$('#start').click(function () {
        $(this).addClass('start');

    });

$('#close').click(function () {
        $('#start').removeClass('start');

    });

CSS

.start
{
// css style here
}

7

solved how to add css on click and remove it when they click close button [closed]