DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to change the background color of html in javascript
document.querySelector('html').style.backgroundColor = 'red';
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#change
#background
#color
#html
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit