+ 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

14th Apr 2022, 6:25 PM
Lautin
Lautin - avatar
2 Antworten
+ 1
//#script // window.onclick = clickit() function clickit() { let btn = document.getElementById("sendform"); alert ("Thank you for filling this form!") }
14th Apr 2022, 6:29 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 thank you for the reply ^^ it works!!
15th Apr 2022, 1:34 AM
Lautin
Lautin - avatar