Good day, everyone! I am having problem with error “Uncaught SyntaxError: Unexpected token ‘<‘ “. I would like to get your advices on this matter.
Uncaught SyntaxError: Unexpected token '<'
This is my program:
index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> </head> <body> <!-- ⛔️ Uncaught SyntaxError: Unexpected token '<' ⛔️ --> <script src="index.html"></script> </body> </html>
As a newcomer to this field, I’m confused by this issue and have spent much time trying to figure it out. Please help me in finding answers to this issue.