0

Pls using the prompt boc i adk someone what ur name and after answering how can i make another box appear saying something

Prompt box

27th Aug 2020, 11:51 AM
Oyedeji hiqmat
3 Respuestas
0
Prompt returns the value, If user enters some data and click on ok, then the promot will return the value else it will return null Based on this condition store the prompt in a variable and now you know what to do, If it returns the value do something and in else do something else
27th Aug 2020, 12:02 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
var x = prompt("enter your name") ; Alert("hello"+x) ; Try this
27th Aug 2020, 1:05 PM
Divya Mohan
Divya Mohan - avatar
0
@divya Is it not the same
27th Aug 2020, 1:08 PM
Oyedeji hiqmat