What do you want to save?
Add Code snippet
New code examples
-
CSS 2021-09-06 11:38:02
how to apply hover through inline css
document.getElementById("mydiv").onmouseover= function(e){this.className += ' my-special-class'; }; document.getElementById("mydiv").onmouseleave= function(e){this.className = this.className.replace('my-special-class',''); }; Add solution -
Javascript 2021-09-06 11:12:04
javascript uppercase first letter
//capitalize only the first letter of the string. function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } //capitalize all words of a string. function capitalizeWords(string) { return string.repl... Add solution
Best helpers
Ranking is empty