-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnvy_flu.html
88 lines (73 loc) · 3.72 KB
/
nvy_flu.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
<!Doctype html>
<html lang="en-US">
<head>
<title>nvy.io | Catching the Flu Game</title>
<!-- <<change title>> -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A fun game, using functional javascript. Developed to be nvy'd. A project created by NiKole Maxwell for nvy.io">
<!-- <<change attributte>> -->
<meta name="keywords" content="web development, business process, documentation, api reporting, forms, workflow, end to end process development, start ups, small business, woman owned business,.Vienna VA">
<!-- <<change attributte>> -->
<meta name="robots" content="index,follow">
<!-- <<change attributte>> -->
<meta name="author" content="NiKole Maxwell">
<!-- <<change attributte>> -->
<!--Normalize CSS-->
<link href="src/css/normalize.css"type="text/css" rel="stylesheet">
<!-- import font awesome -->
<!--
<link href="https://fonts.googleapis.com/css?family=Arsenal|Advent+Pro|Questrial"
rel="stylesheet"> -->
<link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet">
<!-- Custom CSS -->
<link href="src/css/typography.css " type="text/css" rel="stylesheet">
<link href="src/css/flu.css" type="text/css" rel="stylesheet">
</head>
<body>
<section>
<div id="logo"></div>
<div id="intro">
<h1 class="subBlue emphasis"> Catching the Flu </h1>
<h2> Will you make it without catching the flu??? </h2 ><br>
<h3 class="subBlue emphasis bold">Instructions:</h3>
<span>
<p>Its you vs the FluBug - will you make it to the end of flu season without catching the flu? Keep track of your coughs each day by clicking the button. If your # of coughs match the Magic Flu Bug - you catch it and <strong class="red">LOSE!</strong></p>
<p>If you make it through to the end of the season healthy - you're a winner! </p>
<p><strong class="red">Bonus: </strong> Gain Immunity by coughing no times in a day and you're safe until next season!</p>
</span>
</div>
<div id="hideStart">
<button id="start"> Start Here </button>
<p id="welcome"></p>
</div>
<div>
<div id="gameplay" hidden="false">
<button id="health"> How many times have you coughed today? <br> <strong class="beat accent t-shadow"> >>> Click to check your health <<<</strong></button>
<div id="scoreBox">
<div id="playerScoreBox">
<hr>
<h2 class="healthReport"> Your Health Report </h2>
<hr>
<div id="playerCurrent" class="scoreCardCircle">
<div id="playerCurrentText"> 00</div>
<div id="playerCurrentDesc" class="accent"> # of Coughs</div>
</div>
<div id="playerTotal" class="scoreCardCircle">
<div id="playerTotalText"> 00</div>
<div id="playerTotalDesc"class="accent"> Season Total </div>
</div>
<div id="playerStatus" class="scoreCardCircle">
<div id="playerStatusText" class="statusText"> Status Pending
<div id="playerStatusDesc"> Are you Sick?</div>
</div>
</div>
<div id="statusMsg" hidden>Oh no! You've caught the flu! <br> The game has ended, please get to the Doctor.</div>
</div>
</section>
<!-- import custom css -->
<script src="src/scripts/script4.js"></script>
<!-- redo logic -->
</body>
</html>