+ 2
How can i create custom alert box with option like yes or no
Like thisđđ https://www.sololearn.com/post/615516/?ref=app
5 Answers
+ 8
You can easily make this with javascript.
Just take two buttons and give them id:
And then add click Listener and then do stuffs on click.
You can check out this code it has one:
//see the bottom of code you'll find popup there.
https://code.sololearn.com/WEiCYpac4u5y/?ref=app
& as Abhay said there's a pre-made library call sweet-alert đ
+ 5
You can create them easily if you understand how to use JavaScript ,but in case you don't want there exists a library "sweetalert" ,give it a try
https://www.npmjs.com/package/sweetalert2
+ 3
Abhay Like this?
________________________________
| |
| You like it? |
| |
|___________________yes____no__|
This is alert box
+ 2
Aditya sweetalert provides everything if you care to read the documentation and others tutorials or create one from scratch
+ 2
Thank you Aakaanksha đ