+ 1
What is the easiest way to change the button color when you click on it (Blue button -onclick-red button)
for Html
2 Answers
+ 2
<button style="background:blue" onclick="style.background='red'">Change</button>
+ 2
Calvin bro , you are the beeeessst person , I had googled alot but it all had CSS , I am just starting to learn JS and you made things very very easy thanksssss šššššš