+ 1
[SOLVED] Help me correct this, had no idea
Hy all, can you help me correct this code? I want to make it, when the user click the 'Send' button it will alert a sentence, but it just won't happen... https://code.sololearn.com/WM8qKgUAQFl3/?ref=app
2 Answers
+ 1
//#script
// window.onclick = clickit()
function clickit() {
let btn = document.getElementById("sendform");
alert ("Thank you for filling this form!")
}
+ 1
Jayakrishnađźđł thank you for the reply ^^ it works!!