mirror of
https://github.com/Alvin-Zilverstand/ict-algemeen-opdrachten.git
synced 2026-03-06 13:23:58 +01:00
Add comments and styling enhancements to number guessing game
This commit is contained in:
@@ -8,10 +8,15 @@
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Titel van de pagina -->
|
||||
<h1>Raad het getal</h1>
|
||||
<!-- Instructies voor de gebruiker -->
|
||||
<p>Voer een getal in tussen 1 en 100:</p>
|
||||
<!-- Invoerveld voor de gok van de gebruiker -->
|
||||
<input type="number" id="guessInput">
|
||||
<!-- Knop om de gok te controleren -->
|
||||
<button onclick="checkGuess()">Gok</button>
|
||||
<!-- Paragraaf om het resultaat weer te geven -->
|
||||
<p id="result"></p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user