What do you want to save?
Add Code snippet
New code examples
-
Html 2021-08-29 09:58:02
how to make a clear button in javascript
<script> function clear_inputs(){ inputs=document.getElementsByClassName('inputs') for(input of inputs){ input.value=' ' ///this emptys the inputs } } </script> <input class='inputs' type="text"> <input ... Add solution -
Javascript 2021-08-28 23:05:01
change the body background color with javascript checkbox using
blue=document.getElementsByClassName("check1")[0] red=document.getElementsByClassName("check2")[0] yellow = document.getElementsByClassName("check3")[0] function colors(color) { document.body.style.backgroundColor = color... Add solution
Best helpers
Rlw
+5
John Rualo
+5
Michael Wang
+5
Heavens
+5
Calvino
+5
Withparadox2
+5
SuzyTypehead
+5
Aj Morales
+5