+ 3
Will you ever have to use prompt() when making real web applications?
2 odpowiedzi
+ 4
You can consider custom make your prompt. It's easy to override the default built in prompt function.
window.prompt = function (message) {
return yourCustomDialog(message);
}
Here is an example to make prompt more appealing:
https://code.sololearn.com/Wg8UngMh1hbS/?ref=app
+ 10
Yeah sure! Just maybe, it might not "look professional"