+ 4
Remove from the head sweet alert part and paste it after the body...then it works fine:))
*remember::sweet alert works only after the window page is loaded you did before that so it's throwing error!
https://code.sololearn.com/Wxw3Vr2CZNYv/?ref=app
0
well what is the expected output?