+ 3
Including js file
I am not getting output included with js web browser are not taking js file in folder even I gave the code https://code.sololearn.com/WW82K9zd7No1/?ref=app
8 Réponses
+ 3
share your code
+ 2
Make sure your js and html files are in right location.
Btw it's a nice game. Well done.
+ 2
Make sure you include the js in following format
<script src="main.js"></script>
Put it before closing body tag.
+ 2
It should work. This is the common way to do.
+ 1
ok I will try it
0
yes there are in same location
0
same folder
0
it is not working