After you have completed the script, open it in your web browser and test your game. If there are any mistakes or program errors go back to the text editor and fix the bugs.
Test your video game on different web browsers. Sometimes there are small differences, so you may have to tinker with the script to get your game to display properly.
Show the game to a friend or a test audience. Bugs you did not find may pop up when someone else plays your video game.
Give your video game a catchy name -- brainstorm a name by writing down any names that might describe your game or other ideas that pop into your head. Then try combining them or mixing them together until you find one that jumps out at you.
Start with a simple game idea as you learn to create scripts and then work up to more complex games. You can find more advanced script editors with features that can speed up your script creation. Try adding more features to the first version of your game by allowing the player to change some options.