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
3 ответов
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
0
For a more detailed discussion and potential solutions, you might find this thread helpful: https://trinityrental.com/rent-lamborghini SOLOLEARN .By addressing the import issue with one of these methods, your game should run smoothly on Sololearn's platform.
24th Feb 2025, 3:47 PM
Robby Thacher
Robby Thacher - avatar