forked from truon/SimT
29 lines
No EOL
1.1 KiB
HTML
29 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="test.css">
|
|
<script src="test.js"></script>
|
|
<title>Guessing game</title>
|
|
</head>
|
|
<body>
|
|
<h1 class="center">WELCOME TO OUR<br>GUESSING GAME</h1>
|
|
<div class="center">
|
|
<button id="start" onclick="startGame()" class="biggerSize">Let's start!!!</button>
|
|
</div>
|
|
|
|
<div id="gameId" class="center" style="visibility: hidden">
|
|
<h3>I'm thinking about a number between 1 and 100...</h3>
|
|
<p class="biggerSize">Your guess</p>
|
|
<input id="guess" type="text" class="center biggerSize">
|
|
<button id="guessBtn" onclick="gameFunc()" class="biggerSize">Guess</button>
|
|
<h1 id="result"></h1>
|
|
</div>
|
|
|
|
<div id="restart" class="center" style="visibility: hidden">
|
|
<button onclick="restart()" class="biggerSize">Let's play again!</button>
|
|
</div>
|
|
</body>
|
|
</html> |