-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (105 loc) · 4.19 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
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-86175200-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-86175200-2');
</script>
<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="main.css">
<title>How old days you are?</title>
</head>
<body>
<div class="container">
<p id="welcome-text">
<span>Have you ever wondered how many DAYS you are 💭 ?</span>
<span>And what about when is your '10 000 days Birthday' ?</span>
<span>Maybe it's time to bake a birthday cake 🎂 ? </span>
<span>Let's try it! 🎁 </span>
</p>
<div id="results-days">
<p>You are <span id="days-old">0</span> days old</p>
<div class="you-are-here-container">
<div id="you-are-here-marker">
<span>You are here</span>
<div>
📍
</div>
</div>
</div>
<div class="timeline">
<div class="life-stage">
🎂 </br> 5000 <span id="life-stage-5000" class="life-stage-date"></span>
</div>
<div class="life-stage">
🎂 </br> 10 000 <span id="life-stage-10000" class="life-stage-date"></span>
</div>
<div class="life-stage">
🎂 </br> 15 000 <span id="life-stage-15000" class="life-stage-date"></span>
</div>
<div class="life-stage">
🎂 </br> 20 000 <span id="life-stage-20000" class="life-stage-date"></span>
</div>
<div class="life-stage">
🎂 </br> 25 000 <span id="life-stage-25000" class="life-stage-date"></span>
</div>
<div class="life-stage">
🎂 </br> 30 000 <span id="life-stage-30000" class="life-stage-date"></span>
</div>
</div>
<img
frameBorder="0"
id="giffy"
class="giphy-embed"
allowFullScreen
>
</div>
<div id="date-selectors" class="select-date">
<div class="select-month">
<div class="select-title">
Month 📅
<p>Select the month</p>
</div>
<select type="text" id="input-month" name="month" class="input-screen" required>
</select>
</div>
<div class="select-day">
<div class="select-title">
Day 📅
<p>Select the day</p>
</div>
<select name="day" id="input-day" class="input-screen" required>
</select>
</div>
<div class="select-year">
<div class="select-title">
Year 📅
<p>Select the year</p>
</div>
<select name="year" id="input-year" class="input-screen" required>
</select>
</div>
</div>
<div class="select-button select-button-min">
<button type="button" id="calculate-button">Come on 🔎 </button>
</div>
</div>
<footer>
<div class="contact-links">
<a href="https://github.com/YaninaTrekhleb" target="_blank">
<img src="img/github-logo-icon.png" alt="github-logo" width="30">
</a>
<a href="https://www.linkedin.com/in/yanina-trekhleb/" target="_blank">
<img src="img/linkedin-logo.png" alt="linkedin-logo" width="30">
</a>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>