+ 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
6 Réponses
+ 1
onclick= "" > //correct way but,
what is value or action call for onclick? If empty, just remove attribute
+ 1
What is the error and where you see it?
+ 1
Jayakrishna🇮🇳 ah ok
0
Jayakrishna🇮🇳 it didnt work
0
Jayakrishna🇮🇳 when you click the blue text it brings you to youtube and thats where the error shows up
0
For me, it just opening YouTube. No error showing ..