Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change css with js

document.querySelector('h1', container).style.backgroundColor = 'red';
 
PREVIOUS NEXT
Tagged: #change #css #js
ADD COMMENT
Topic
Name
2+6 =