mirror of
https://github.com/Alvin-Zilverstand/ict-algemeen-opdrachten.git
synced 2026-11-24 23:23:05 +01:00
Add number guessing game with HTML, CSS, and JavaScript implementation
This commit is contained in:
1 parent
ef1b5f2420
commit
5b2c9b856e
3 files changed
+59
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="nl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Raad het getal</title>
|
||||
<script src="raadgetal.js" defer></script>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Raad het getal</h1>
|
||||
<p>Voer een getal in tussen 1 en 100:</p>
|
||||
<input type="number" id="guessInput">
|
||||
<button onclick="checkGuess()">Gok</button>
|
||||
<p id="result"></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user