+ 7

How to style button in js

styling button in js

9th Mar 2017, 2:45 AM
Suyash Purwar
Suyash Purwar - avatar
5 Answers
+ 7
what if i want to give a background color to red
9th Mar 2017, 3:38 AM
Suyash Purwar
Suyash Purwar - avatar
+ 7
got it
9th Mar 2017, 3:38 AM
Suyash Purwar
Suyash Purwar - avatar
+ 7
Check out my code "Php Click" for some ideas on how to style buttons.
16th Mar 2017, 1:09 PM
Theprogrammers
Theprogrammers - avatar
+ 2
button.style.backgroundColor = "blue"
9th Mar 2017, 3:37 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
it was just example
9th Mar 2017, 3:42 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar