New course! Every coder should learn Generative AI!
Try a free lesson+ 5
Please help me!!!!!
How to use document.getElementById() in js.
3 Answers
+ 4
document.getElementById("cheeze").style.backgroundColor = "blue"
<div id=cheeze> <- This div will be blue.
+ 4
Thanks all
+ 1
document.getElementById("yourDivName");