Skip to content
Sign upLog in
← Back to Community

Javascript SyntaxError: Unexpected identifier

Profile icon
Keegooo

I keep getting this error and i've looked over my code multiple times but I can't seem to find an error in the code. Help would be greatly appreciated :D
https://repl.it/@Keegooo/click

Answered by Vandesm14 [earned 5 cycles]
View Answer
Voters
Profile icon
Seawis
Profile icon
ViljarHole
Profile icon
Keegooo
Comments
hotnewtop
Profile icon
Vandesm14

On line 14, there is an extra space between Eleme and ntById
On line 19 and 20 there are missing semicolons

Other than that everything should work :)

Please upvote this if it helped you out

Profile icon
Keegooo

@Vandesm14
Thank you i'm so blind