+ 2

How can I change the background using js

X.style.bgColor="red";

29th Apr 2019, 4:33 AM
SCP 251
SCP 251 - avatar
4 Answers
+ 6
X.style.backgroundColor = 'red';
29th Apr 2019, 4:35 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
Background of what exactly, are you referring to web, or maybe mobile platform like react native or maybe its react Its so broad
29th Apr 2019, 6:26 AM
Mufungo Geeks
Mufungo Geeks - avatar
+ 2
CalviŐ˛ I wnat to change the background image Plz help
17th Jan 2020, 10:09 AM
Shreyansh
Shreyansh - avatar
18th Jan 2020, 1:08 AM
Aditya
Aditya - avatar