|
|
@ -90,8 +90,8 @@ Create a new file named **index.html**. Add the following HTML:
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<input type="text" id="typed-value" /> <!-- The textbox for typing -->
|
|
|
|
<input type="text" id="typed-value" /> <!-- The textbox for typing -->
|
|
|
|
<button type="button" id="start">Start</button> <!-- To start the game -->
|
|
|
|
<button type="button" id="start">Start</button> <!-- To start the game -->
|
|
|
|
<script src="script.js"></script>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|
```
|
|
|
|
```
|
|
|
|