line in my js

Hi eveyone sombody can explain me why I have this line on my code thanks
No description
10 Replies
13eck
13eck3mo ago
My guess is because event isn't declared anywhere. You're using ev (line 10) as the event object
Pat66
Pat66OP3mo ago
thanks is better but can you explain me why I have the red things on my vscode in the console I don 't have any error ?
Pat66
Pat66OP3mo ago
No description
No description
13eck
13eck3mo ago
If you hover over the squiggles it'll tell you what it thinks is wrong
ἔρως
ἔρως3mo ago
also, you might want to start vscode without extensions
Pat66
Pat66OP3mo ago
don 't have any extensions
ἔρως
ἔρως3mo ago
the syntax highlighting is all weird
Pat66
Pat66OP3mo ago
ok
No description
No description
No description
Kevin Powell
Kevin Powell3mo ago
a comma expected error means it expects it before the error 🙂
ἔρως
ἔρως3mo ago
in this case, i think something is wrong with vscode

Did you find this page helpful?