+ 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
3rd Oct 2020, 10:58 AM
chaithra Gowda
chaithra Gowda - avatar
0
well what is the expected output?
3rd Oct 2020, 10:50 AM
John Doe