+ 1

How do you select the background color of an element in using java script ?

21st Sep 2021, 7:09 PM
Mayengo Gilbert
Mayengo Gilbert - avatar
2 Antworten
+ 2
element.style.backgroundColor= "your styel"
21st Sep 2021, 7:13 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
What do you mean by selecting background color of an element ?
21st Sep 2021, 7:13 PM
Abhay
Abhay - avatar