-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
51 lines (51 loc) · 2.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Experience the thrill of the Guess the Number game! Can you guess the hidden number? Start now and challenge your guessing skills.">
<meta name="keywords" content="Mehrabios , Mehrab Anbarlou , Mohammad Hossein Anbarlou , Projects , GitHub , Portfolio , Coding , Programming , Web Development , Open Source , HTML , CSS , JavaScript , Responsive Design , Number , Guess The Number , Guess The Number Game , Number Guessing , Web Game Development , Number Guessing Challenge , Interactive Web Game , JavaScript Game , HTML Game , CSS Game , Mini Project">
<meta name="author" content="Mehrab Anbarlou">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guess The Number | JS Interactive Game</title>
<link rel="stylesheet" href="./Styles/style.css">
</head>
<body>
<header>
<div class="title">
<h1>Guess The Number!</h1>
</div>
<div class="paragraph">
<p>"<em>Guess a number between 1 and 100, you only have a few chances, what are you waiting for!</em>"</p>
</div>
</header>
<main>
<div class="difficulty-level">
<select class="select-input" oninput="difficultyChecker()">
<option selected hidden>Choose a Difficulty Level</option>
<option value="Easy-Diff">Easy</option>
<option value="Normal-Diff">Normal</option>
<option value="Hard-Diff">Hard</option>
<option value="Expert-Diff">Expert</option>
<option value="Difficult-Diff">Difficult</option>
</select>
</div>
<div class="remaining-guesses d-none">
<p>Number of remaining guesses: <span class="guess-number"></span></p>
</div>
<form onsubmit="numberChecker(event)" class="d-none">
<div class="number-submit">
<input type="text" placeholder="Enter a Number Between 1 & 100" class="number-input">
<button type="submit" class="number-btn">Submit</button>
</div>
</form>
<div class="number-checker">
<p class="number-comparison-paragraph"></p>
</div>
<div class="previous-numbers"></div>
<form class="restart-page d-none">
<button class="restart-btn">Restart Game</button>
</form>
</main>
<script src="./JavaScript/app.js"></script>
</body>
</html>