+ 1

What is swal function?

I am new learner so I don't know the difference between swal and alert function in js. I know alert function can anyone explain swal function

21st Jul 2020, 12:30 PM
Ayush Semwal
1 ответ
+ 4
There is a library sweet JS. If you use that you need to use swal instead of alert. Alert is the general one. edit : Follow the instructions. https://sweetalert.js.org/guides/
21st Jul 2020, 12:33 PM
Kashyap Kumar
Kashyap Kumar - avatar