How to add sweetalert | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to add sweetalert

How to add sweetalert(swal) in our webpage

27th Sep 2020, 8:19 AM
匚ㄖᗪ丨几Ꮆ 爪卂丂ㄒ乇尺
匚ㄖᗪ丨几Ꮆ 爪卂丂ㄒ乇尺 - avatar
4 Answers
+ 6
Copy and paste this in the src attribute of the script tag. https://unpkg.com/sweetalert/dist/sweetalert.min.js And use swal("......").
27th Sep 2020, 8:23 AM
Pranav Kalro
Pranav Kalro - avatar
+ 2
Pranav Kalro I will try
27th Sep 2020, 8:24 AM
匚ㄖᗪ丨几Ꮆ 爪卂丂ㄒ乇尺
匚ㄖᗪ丨几Ꮆ 爪卂丂ㄒ乇尺 - avatar
27th Sep 2020, 8:35 AM
匚ㄖᗪ丨几Ꮆ 爪卂丂ㄒ乇尺
匚ㄖᗪ丨几Ꮆ 爪卂丂ㄒ乇尺 - avatar