Answers for "how to get current bg color of an element in javascript"

0

how to change the background color of html in javascript

document.querySelector('html').style.backgroundColor = 'red';
Posted by: Guest on February-17-2022
0

how to change background color using javascript

Changing body background color using javascript
Posted by: Guest on December-06-2021

Code answers related to "how to get current bg color of an element in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language