0

Check my code (Car Game)

I have completed this project in Scratch MIT, its a game, you may know its visual coding, so I converted it to Javascript, hopefully it worked, then I copy and pasted my code here, its showing error that import should be outside of module, please go to code to see: https://code.sololearn.com/WUEXHX0IUO9H/?ref=app

28th Apr 2022, 9:22 AM
Wakil Ah Hamidi
Wakil Ah Hamidi - avatar
2 Réponses
0
I think the import and export are used when you have a local server on your computer
28th Apr 2022, 11:33 AM
MATOVU CALEB
MATOVU CALEB - avatar
0
Yup solution?
28th Apr 2022, 11:45 AM
Wakil Ah Hamidi
Wakil Ah Hamidi - avatar