+ 1
Syntax error with links
Using default web code bit, the only thing I added is <a href=“https://www.google.com”>google</a>, and a javascript output box at the bottom says “syntax error” when I click the link, even though it directs me to Google. Anyone know why?
4 ответов
+ 1
chernxbyl42069
Share your code and help get rid of the doubts about what went wrong. These guys can help you much better if they can see your code. So, share the code?
0
「HAPPY TO HELP」 the quotation marks I used were indeed standard and changing them did not help. thank you for the answer though
0
Did you add it to the right tab?
Web codes have tree code tab: one for html, one for css and a last one for js...
It sounds like if you add this link in the js tab and not in the html tab ^^
Only css or js could be written in the html tab if you enclose them in respectively <style></style> and <script></script> tags ;)