New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How do you select the background color of an element in using java script ?
2 Answers
+ 2
element.style.backgroundColor= "your styel"
+ 1
What do you mean by selecting background color of an element ?