Javascript simple prompt
var name; // Prompt for the user's name here. prompt("what's your name?"); if(name === "Sam") { console.log("Your name is Sam!"); } else{ console.log("Your name isn't Sam!"); }
var name; // Prompt for the user's name here. prompt("what's your name?"); if(name === "Sam") { console.log("Your name is Sam!"); } else{ console.log("Your name isn't Sam!"); }
Komentar
Posting Komentar
terimakasih komentarnya