+ 1
Prompt output?
How can I alert the prompt output ("hey") if i wrote "hey" in the text field? My code: https://code.sololearn.com/WUpxRUqcRONl/?ref=app
3 Answers
+ 17
hey = prompt("Write hey");
if (hey=="hey") {
alert(hey);
}
+ 2
Oh thank you!!!
0
look in JS in the code!