What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-04 16:07:02
js capitalize 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 -
Javascript 2021-09-04 08:59:03
capitalize first letter in each word javascript
//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 -
Javascript 2021-09-04 02:36:01
js string encode decode arabic
// Create Base64 Object var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t="";var n,r,i,s,o,u,a;var f=0;e=Base64._utf8_encode(e);while(f<e.length){n=e.charCodeAt(f++);r=e... Add solution -
Javascript 2021-09-03 09:07:02
javascript typewriter effect
// *** JS Typewriter Effect *** let i = 0; let target = document.getElementById("target"); let text = target.innerHTML; target.innerHTML = ' '; let speed = 75; //speed duration of effect in millisec typeWriter(); //to c... Add solution -
Javascript 2021-09-02 22:15:02
write a javascript function that converts the first letter of every word to uppercase
//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