Horje
how to repeat prompt with the same variable in javascript Code Example
how to repeat prompt with the same variable in javascript
var promtptAll = prompt('type any from rock, paper, scissors', '');
how to repeat prompt with the same variable in javascript
let sign = prompt("What's your sign?");

if (sign.toLowerCase() == "scorpio") {
  alert("Wow! I'm a Scorpio too!");
}

// there are many ways to use the prompt feature
sign = window.prompt(); // open the blank prompt window
sign = prompt();       //  open the blank prompt window
sign = window.prompt('Are you feeling lucky'); // open the window with Text "Are you feeling lucky"
sign = window.prompt('Are you feeling lucky', 'sure'); // open the window with Text "Are you feeling lucky" and default value "sure"




Javascript

Related
nodejs spawn set env variable Code Example nodejs spawn set env variable Code Example
aws beanstalk nodejs redirect http to https Code Example aws beanstalk nodejs redirect http to https Code Example
sqlite3 multithreading nodejs Code Example sqlite3 multithreading nodejs Code Example
print a specific div in javascript Code Example print a specific div in javascript Code Example
document.append Code Example document.append Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11