DEV Community

News Naama
News Naama

Posted on

JavaScript Change Background Color

JavaScript Change Background Color:- We have to show you how to change the background with the example. And together we also show you how to do it in different ways.

So You can change the background color using javascript function. Below we have defined some point about it go and see your code with example more in details example JavaScript Change Background Color

document.body.style.backgroundColor = "yellow";

Top comments (0)