+ 1

Unknown syntax error

In my code, it’s showing that it has a syntax error, however everything remains functional. This began happening after this code was added: <form action="http://www.youtube.com/" method="get"> <button class="button2" onclick=>Ad-Free YouTube</button> </form> I’ll link the code that is doing this in case of the issue being something else. It’s on line 89 for HTML. https://code.sololearn.com/WZS3PdNbmPTW/?ref=app

20th Apr 2022, 7:13 PM
експоненти
експоненти - avatar
6 Respuestas
+ 1
onclick= "" > //correct way but, what is value or action call for onclick? If empty, just remove attribute
20th Apr 2022, 7:21 PM
Jayakrishna 🇮🇳
+ 1
What is the error and where you see it?
20th Apr 2022, 7:28 PM
Jayakrishna 🇮🇳
20th Apr 2022, 7:48 PM
експоненти
експоненти - avatar
0
Jayakrishna🇮🇳 it didnt work
20th Apr 2022, 7:24 PM
експоненти
експоненти - avatar
0
Jayakrishna🇮🇳 when you click the blue text it brings you to youtube and thats where the error shows up
20th Apr 2022, 7:37 PM
експоненти
експоненти - avatar
0
For me, it just opening YouTube. No error showing ..
20th Apr 2022, 7:45 PM
Jayakrishna 🇮🇳