generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
72 lines (72 loc) · 3.3 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
<!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">
<meta name="description" content="A flipping game matching bird images">
<meta name="keywords" content="flip game, birds, image game, flip the bird">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="icon" href="https://res.cloudinary.com/rockymiss/image/upload/v1646648093/Flip%20the%20Bird/flip-bird-logo-head_xazvob.png" type="image/x-icon">
<script src="https://kit.fontawesome.com/0037301c3f.js" crossorigin="anonymous"></script>
<title>Flip the Bird</title>
</head>
<body>
<!--Logo-->
<header>
<img src="https://res.cloudinary.com/rockymiss/image/upload/c_scale,w_1203/v1646648943/Flip%20the%20Bird/bird-logo_dhleyk.png" alt="Flip the bird logo" class="logo" id="logo">
</header>
<!--Timer and lives left for game-->
<div class="details-container hide" id="details-container">
<span id="timer">0.00</span>
<span id="flips">0 Flips Left</span>
</div>
<!--Welcome information for user and input name-->
<div class="welcome-container" id="welcome-container">
<h1>Welcome to Flip the Bird</h1>
<h2>How to Play</h2>
<p> It's simple really. Enter your name below to start and then pick
from one of the three games: birds, feathers or cartoons.</p>
<p>Try to match
the cards before you lose all of your lives. You only have 8 lives
so try to remember where the cards are. You can play over and over
again!
</p>
<div class="name">
<form id="name-form">
<label for="user-name">Name:</label>
<input id="user-name" type="text" placeholder="Name" name="name" onfocus="this.value=''" required>
<br>
<input type="submit" value="BEGIN" class="global-btn" >
</form>
</div>
</div>
<!--End of Welcome-->
<!--Game Choice Container-->
<div class="game-select-container hide" id="game-select-container">
<h3 id="name-result">Name of User</h3>
<button class="global-btn" id="bird-btn" type="submit">Birds
</button>
<button class="global-btn" id="feather-btn" type="submit">Feathers
</button>
<button class="global-btn" id="cartoon-btn" type="submit">Cartoons
</button>
</div>
<!--End of Game Choice-->
<!--Congratulations and Hard Luck Container-->
<div class="congrats-container hide" id="congrats">
<h4 id="result">show result</h4>
<button class="global-btn" id="game-choice" type="submit">Play Again
</button>
</div>
<!--End of Congrats and Hard Luck-->
<!--Card Game Section script-->
<section class="hide">
<h5>Game Section</h5><!--appended from js-->
</section>
<footer>Created by Rachel Rock March 2022</footer>
<!--JS-->
<script src="assets/js/cards.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>