Answers for "how to chang backgroundcolor for div with js"

1

how to change background color using js

var warning = document.getElementById("warning");
  warning.style.background-color = "red";
Posted by: Guest on August-30-2020
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 "Javascript"

Browse Popular Code Answers by Language