0
Syntax error
It says this code has a syntax error even though I followed a tutorial. It was supposed to be like the dinosaurs game on google https://code.sololearn.com/Wgx0mH47Kx1U/?ref=app
1 Answer
+ 1
Matthew Evans
I don't think you followed tutorial properly
What is the purpose of this line:
<html>lang="en" onclick='jump()'>
Did you check syntax?
Here should be && instead of %%
if(blockLeft<20 && blockLeft>0 %%
charaterTop>=130){