+ 2

Is there a way to customize alert boxes in js?

Alert boxes look boring when you use alert() in JS. Can I customize them and make them look better?

20th Sep 2023, 1:20 PM
Paxton Programer
3 Answers
+ 3
You can use something like sweetalert https://sweetalert2.github.io/ If you don't want to spend time building every alert by yourself
22nd Sep 2023, 10:43 AM
Ali Aghajani
Ali Aghajani - avatar
+ 1
Ok
20th Sep 2023, 6:43 PM
Paxton Programer
+ 1
Ok
22nd Sep 2023, 6:04 PM
Paxton Programer