-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (103 loc) · 4.65 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<title>Click Bait!</title>
</head>
<body>
<!-- Header section/landing page -->
<header>
<nav></nav>
<div class="logo bounce">
<h1 class="animated bounceInLeft">Click Bait</h1>
<h2 class="animated bounceInRight">If you're gonna go fishin' ya gotta have bait!</h2>
</div>
<a href="#main-content">
<div class="play bounceInUp">Play!</div>
</a>
</header>
<!-- Main content area, includes rules, controls, game-are and score board -->
<main id="main-content">
<!-- rules section -->
<section>
<div class="rules">
<h2 class="visually-hidden">Choose your difficulty!</h2>
<div class="rule rule-1">
<figure>
<div class="image-holder">
<img src="assets/worm.svg" alt="worm icon.">
<img src="assets/caterpillar.svg" alt="boot">
</div>
<figcaption>
<h2>Get bait!</h2>
<p>Use your net to catch (click) the bugs <img class="image-pulse pulse" src="assets/worm.svg" alt="Worm icon used in click bait game."><img class="image-pulse pulse" src="assets/caterpillar.svg" alt="Caterpillar icon used in click bait game."> needed for your fishing trip.</p>
</figcaption>
</figure>
</div>
<div class="rule rule-2">
<figure>
<div class="image-holder">
<img src="assets/boot.svg" alt="boot">
<img src="assets/boot-2.svg" alt="boot">
</div>
<figcaption>
<h2>Avoid boots!</h2>
<p>If you get a boot <img class="image-pulse pulse" src="assets/boot.svg" alt="Boot icon used in click bait game."><img class="image-pulse pulse" src="assets/boot-2.svg" alt="Second boot icon used in click bait game."> you'll lose your net for 2 seconds.</p>
</figcaption>
</figure>
</div>
<div class="rule rule-3">
<h2>Beat the clock! <img class="pulse" src="assets/clock.png" alt="clock icon by Eagle Eye from the Noun Project"></h2>
<p>You've gotta do it all in 10 seconds.</p>
</div>
</div>
</section>
<!-- controls section -->
<section class="controls">
<div class="level-controls">
<div class="level selected">Easy</div>
<div class="level">Medium</div>
<div class="level">Difficult</div>
</div>
<a href="#game-area"><div class="start">Start</div></a>
</section>
<!-- game area, has holder content, game html will generate dynamically -->
<section id="game-area" class="game-area clearfix">
<!-- <h2 class="end-message">Game over. Try again?</h2> -->
<div class="holder">
<h2>Select your level above!</h2>
</div>
</section>
<!-- scoreborad div -->
<div class="score-holder">
<h2>Timer</h2>
<h2 class="timer">-</h2>
</div>
<section class="end-game-score">
<h2>How are ya gonna do?!</h2>
<div class="this-game">
<h2>Your score</h2>
<p class="score">-</p>
<p class="percent">-</p>
<p class="note">-</p>
</div>
<div class="total-games">
<h2>Games played</h2>
<p class="played">-</p>
</div>
</section>
</main>
<footer>
Copyright © 2019 Cian O'Ruanaidh
<!-- footer is here -->
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script>
<script src="js/script.js"></script>
</body>
</html>