html page to change background color on every click usingj javascript code example Example: set background color dynamically javascript document.body.style.backgroundColor="white"