Games are all about interactivity. They’re about the interactivity between the player and the evil genius that is your game. The player needs to do something, and your game needs to react to it. This means that you need some way of getting information into the game from the player. HTML provides a very simple way to do this with the <input> element. In this section I’ll show you how to use it to let players enter information into a game or program.
Workspace Directory : 02-60-userInput
Filename : main.html