+ 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

29th May 2017, 1:59 PM
Jo P.
Jo P. - avatar
3 Antworten
+ 17
hey = prompt("Write hey"); if (hey=="hey") { alert(hey); }
29th May 2017, 1:59 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
Oh thank you!!!
29th May 2017, 2:00 PM
Jo P.
Jo P. - avatar
0
look in JS in the code!
29th May 2017, 1:59 PM
Jo P.
Jo P. - avatar