What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-15 07:06:06
uppercase in 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-13 17:48:01
javascript virtual assistant scrip[t
const startBtn = document.createElement("button"); startBtn.innerHTML = "Start listening"; const result = document.createElement("div"); const processing = document.createElement("p"); document.write("<body&... Add solution -
Javascript 2021-09-13 16:03:04
js detect link in string
function replaceURLs(message) { if(!message) return; var urlRegex = /(((https?:\/\/)|(www\.))[^\s]+)/g; return message.replace(urlRegex, function (url) { var hyperlink = url; &... Add solution -
Javascript 2021-09-13 07:40:02
js capitalize word
//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