Answers for "js alert input"

2

alert input js

var person = prompt("Please enter your name", "Harry Potter");
Posted by: Guest on August-10-2021
5

js prompt

var answer = prompt('What is your name?','Joe Blogg');
Posted by: Guest on March-31-2020
3

javascript prompt

var person = prompt("Please enter your name", "Harry Potter");

if (person != null) {
  document.getElementById("demo").innerHTML =
  "Hello " + person + "! How are you today?";
}
Posted by: Guest on July-29-2020
7

javascript alert

alert("string");
Posted by: Guest on May-30-2020
0

how to alert in javascript

alert("Message")
Posted by: Guest on September-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language