+ 4

Can anybody tell different JavaScript alert Alternatives?

Like alert("hi")

27th Sep 2020, 4:09 PM
ALEEM BAIG
ALEEM BAIG - avatar
6 Answers
+ 2
There is no alternate of alert but you can change its design if you want.
27th Sep 2020, 4:18 PM
Maninder $ingh
Maninder $ingh - avatar
+ 2
Maninder $ingh i saw some codes in SoloLearn some are using like Swal
27th Sep 2020, 4:24 PM
ALEEM BAIG
ALEEM BAIG - avatar
+ 2
I don't know about Swal but must they all are using JavaScript libraries or any package to use this. Can you share those codes?
27th Sep 2020, 4:30 PM
Maninder $ingh
Maninder $ingh - avatar
+ 2
ALEEM BAIG im right you can see that ☣Ƭejas☣ post a code and he is using a sweetalert javascript package for swal function. You can clearly see the link of sweetalert in the head tag of code.
27th Sep 2020, 4:33 PM
Maninder $ingh
Maninder $ingh - avatar
+ 2
☣Ƭejas☣ Thank you
27th Sep 2020, 4:52 PM
ALEEM BAIG
ALEEM BAIG - avatar
27th Sep 2020, 4:53 PM
ALEEM BAIG
ALEEM BAIG - avatar