Building a web-based JavaScript game : So you’re ready to start building your game.
This assignment works in a slightly different way so far.
You are going to build the game as you work through the assignment.
Follow the step-by-step instructions and copy the code and you’ll have the game ready in no time.
1) Create an HTML file (Building a web-based JavaScript game)
Just like in all the other assignments, the first thing we need to do is create a new HTML file.
Call your new HTML file securitygame.html.
Copy this code into your text-editing program:
<!DOCTYPE html> <html> <head> <title>Security Game</title> </head> <body> </body> </html>