javascript - Testing HTML5 game in browser? -
hey im new web development , writing simple html5 game 3 files(index.html, style.css, , game.js) in folder , wasnt sure if there way test in browser?
ive tried opening html file in browser doesnt have functionality or visual differences .js file. im wondering if can localhost or can see progress.
make sure files in same folder , link them such:
<link href="style.css" rel="stylesheet" type="text/css"/> <script src="game.js"></script>
then can open html file in browser, long don't require server run app, code run fine.