Please help me write the css style as shown in the picture. The position is in the center of the page. The size of the button is: 190px*50px. The colors are orange (#FF7100) and white (#FFFFFF). When the mouse is clicked, the styles of the two are swapped.
Please help write it down.
Thank you.
jquery's addClass, removeClass; the two methods are very simple
jquery's addClass, removeClass; the two methods are very simple
Add click events for the two buttons btn1 and btn2
$('#btn1').click(function(){$(this).addClass('class1');$('#btn2').addClass('class2');})