What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-16 23:37:13
JS change styles
// select element from DOM const sample = document.getElementById("myid"); // or you can use *vars* var sample = document.getElementById("myid"); // change css style sample.style.color = 'red'; // Change color // or (not recomended) s... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5