-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (62 loc) · 3.37 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Guess the Number</title>
<meta name="author" content="Thiago Ferreira">
<meta name="description" content="A game for guessing a number between 1 and 1000">
<meta name="keywords" content="game, js, jogo, guess the number, adivinhe o numero">
<meta name="robots" content="index, follow">
<meta name="theme-color" content="#712cf9">
<link rel="apple-touch-icon" sizes="180x180" href="images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicons/favicon-16x16.png">
<link rel="manifest" href="images/favicons/site.webmanifest">
<!-- Vendors -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- App -->
<link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<body>
<header>
<nav class="navbar fsixed-top navbar-expand-lg navbar-purple ">
<div class="container">
<a class="navbar-brand" href="#">
<img src="images/wizard.png" alt="" width="30" height="24" class="d-inline-block align-text-top">
Guess the Number
</a>
</div>
</nav>
</header>
<main>
<div class="container align-items-center">
<div class="px-3 py-3 my-5 d-flex align-items-center justify-content-center bg-purple rounded result">
<p class="mb-0 result-text text-center">Take a Guess!</p>
</div>
<form id="form-number">
<div class="input-group ">
<input type="number" id="number" inputmode="numeric" class="form-control number-only" placeholder="Type the number between 1 and 1000" autofocus="autofocus" autocomplete="off" min="1" max="1000" step="1" required>
<button class="btn btn-light btn-lg " type="submit">Enter</button>
</div>
</form>
<div class="row mt-5">
<div class="col">
<button class="btn btn-danger" id="btn-give-up">Give Up</button>
</div>
<div class="col-auto">
<div class="form-group form-check mt-2">
<input type="checkbox" class="form-check-input" id="btn-show-hint">
<label class="form-check-label" for="btn-show-hint">Show Hint</label>
</div>
</div>
</div>
</div>
</main>
<!-- Vendors -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- App -->
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>