Welcome! In this game, you guess a number to match with the secret number. This project highlights the skills of HTML and JavaScript. Especially, manipulating the DOM to return different responses based on the user's interaction with the game.
- Clone the repository
- cd into the repository JS-HTML-Game
- Right-click the file game.html and click "Open Preview"
If the game is not displaying in preview, please take the following steps.
- Confirm in the file game.html the JavaScript file is listed above the closing body tag <script src="game.js"></script>
- Review the game.js file to confirm the IDs are present and match their variables.
- Confirm min and max values are present and assigned values.
- Review the console to see if there are any additional error listed.
This game was built in Visual Studio Code