how to set a string value in javascript code example
Example 1: javascript variable
var user_name = prompt("Please enter your name:", "Type here");
alert("Hello " + user_name);
Example 2: variable javascript
//You can make a variable by using:
var variable-name = 'defenition of the variable';
// Or you can use
let variable-name = 'defenition of the variable';