+ 1

How can i style the prompt statement in java script

14th May 2020, 6:57 PM
Raven Draxler
Raven Draxler - avatar
2 Respuestas
+ 4
The prompt isn't a part of document, so you can't style it. As an alternative, google "sweetalert js"
14th May 2020, 7:00 PM
777
777 - avatar
+ 3
You can't, it's built into the browser. All the popups you see on websites are made "by hand" with HTML/CSS/JavaScript to look like prompts.
14th May 2020, 6:58 PM
Schindlabua
Schindlabua - avatar