Answers for "add css to dom"

8

how to give css style in javascript

document.getElementById("myH1").style.color = "red";
Posted by: Guest on September-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language