document.body.style.background
function changeBackground(color) {
document.body.style.background = color;
}
window.addEventListener("load",function() { changeBackground('red') });// Change the background color to red
document.body.style.backgroundColor = "red";
Also in JavaScript:
- https request node.js output incomplete
- threejs
- socket io query
- how to Check if an array contains a string
- loop json object android java
- javascript continue
- how to fetch web page source code with javascript
- square root javascript
- require is not defined
- javascript free code editors
- how to get selected list item value in javascript
- ip address pattern regex javascript
- convert csv to json python
- prevent specific state redux-persist
- how to get window size in react js
- Javascript code for Age calculator chatbot
- filter in react native video
- find base url in javascript
- react native layout animation
- javascript update text in div
- javascript list class properties
- disable editing ace code edior
- parsefloat jquery
- jquery wordpress starter code