-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
241 lines (238 loc) · 17.2 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Global Warming FYI</title>
<meta name="description" content="Earth's temperature records over 175 years confirm the globe is heating up (or that we suck at measuring).">
<meta name="keywords" content="global warming, climate, atmosphere, carbon, change, crisis, data, droughts, emergency, emissions, floods, footprint, for your information, fossil, fuel, global, greenhouse gases, Greta Thunberg, heat, hotter, hurricanes, ice, industrial revolution, information, IPCC, melting, NCEI, NOAA, research, rising, science, sea level, tornadoes, warming, weather, wildfires, world">
<meta name="author" content="Geoff Thompson">
<meta property="og:title" content="Global Warming FYI">
<meta property="og:type" content="website">
<meta property="og:description" content="Earth's temperature records over 175 years confirm the globe is heating up (or that we suck at measuring).">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:[email protected]&family=Rubik+Wet+Paint&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Sofia&effect=fire" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico">
<link rel="canonical" href="https://globalwarming.fyi">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2036803998661450" crossorigin="anonymous"></script>
<meta name="google-adsense-account" content="ca-pub-2036803998661450">
<style>
body{background: url(img/earth.png) 50% 50vh/600px no-repeat #111515;font-family:Orbitron,serif;}
sup{margin:0 -2px;}
.all-time{font-size:1.125rem;padding-bottom:10px;padding-top:10px;}
.diff{font-size:1.125rem;}
.divider{background:#fff;height:3px;margin:0 auto;max-width:365px;width:100%}
.font-effect-fire{color:#fff;font-family:'Sofia',sans-serif;letter-spacing:2px;}
.mono{font-family:monospace;}
.y2k{padding-left:9px;padding-right:9px;}
@media (min-width:768px) {
body{background: url(img/earth.png) -25vw 50vh/900px no-repeat #111515;}
.diff{position:absolute;margin-left:8px;margin-top:-18px;}
}
</style>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C9FV4E02K0"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-C9FV4E02K0');
</script>
</head>
<body class="align-items-start d-flex justify-content-center my-5 text-center text-light user-select-none vh-100">
<div class="container">
<div class="row">
<h1 class="display-2 font-effect-fire fw-bold mb-4 mt-2" style="opacity:.9;">The Globe is Warming</h1>
<p class="h2 mb-4">
Average Annual Temperature on Earth <br><span class="h3 opacity-50">through recorded history</span>
</p>
<div class="mb-3 position-relative">
<h3 class="d-inline-block mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light">1850</span>
<span class="visually-hidden"> Earth's average temperature was </span>
<span class="badge celsius mono text-bg-warning visually-hidden">13.7°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-warning">56.7°<sup>f</sup></span>
<span class="visually-hidden">.</span>
<span class="d-inline-block d-md-none opacity-0 pe-none" style="width:58px;"> </span>
</h3>
</div>
<div class="mb-3 position-relative">
<h3 class="d-inline-block mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light">1900</span>
<span class="visually-hidden"> Earth's average temperature was </span>
<span class="badge celsius mono text-bg-warning visually-hidden">13.5°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-warning">56.4°<sup>f</sup></span>
<span class="visually-hidden"> - a change of </span>
<span class="diff text-primary"><strong>-1.0%</strong></span>
<span class="visually-hidden"> from 1850.</span>
</h3>
</div>
<div class="mb-3 position-relative">
<h3 class="d-inline-block mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light">1950</span>
<span class="visually-hidden"> Earth's average temperature was </span>
<span class="badge celsius mono text-bg-warning visually-hidden">13.8°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-warning">56.8°<sup>f</sup></span>
<span class="visually-hidden"> - a change of </span>
<span class="diff text-danger"><strong>+1.8%</strong></span>
<span class="visually-hidden"> from 1900.</span>
</h3>
</div>
<div class="mb-3 position-relative">
<h3 class="d-inline-block mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light y2k">2000</span>
<span class="visually-hidden"> Earth's average temperature was </span>
<span class="badge celsius mono text-bg-warning visually-hidden">14.5°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-warning">58.1°<sup>f</sup></span>
<span class="visually-hidden"> - a change of </span>
<span class="diff text-danger"><strong>+4.9%</strong></span>
<span class="visually-hidden"> from 1950.</span>
</h3>
</div>
<div class="mb-3 position-relative">
<h3 class="d-inline-block mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light">2014</span>
<span class="visually-hidden"> Earth's average temperature was </span>
<span class="badge celsius mono text-bg-warning visually-hidden">15.1°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-warning">59.1°<sup>f</sup></span>
<span class="visually-hidden"> - a change of </span>
<span class="diff text-danger"><strong>+3.8%</strong></span>
<span class="visually-hidden"> from 2000.</span>
</h3>
</div>
<div class="mb-2 position-relative">
<h3 class="d-inline-block mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-success">2024</span>
<span class="visually-hidden"> Earth's average temperature was </span>
<span class="badge celsius mono text-bg-warning visually-hidden">15.7°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-warning">60.3°<sup>f</sup></span>
<span class="visually-hidden"> - a change of </span>
<span class="diff text-danger"><strong>+4.2%</strong></span>
<span class="visually-hidden"> from 2014.</span></h3>
</div>
<div class="mb-4 position-relative">
<div class="divider mb-1 opacity-25"> </div>
<h2 class="d-inline-block mb-0">
<span class="visually-hidden">Over the last </span>
<span class="all-time badge text-bg-secondary text-capitalize"><span style="letter-spacing: 2px;margin-right:-3px;">175</span> years</span>
<span class="visually-hidden"> Earth's average temperature has changed </span>
<span class="badge celsius mono text-bg-danger visually-hidden">+2.0°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-danger">+3.6°<sup>f</sup></span>
<span class="visually-hidden">.</span>
</h2>
</div>
<div class="mb-2 opacity-50 position-relative">
<h4 class="d-inline-block h3 mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light">2050</span>
<span class="visually-hidden"> Earth's average temperature is estimated to be </span>
<span class="badge celsius mono text-bg-light visually-hidden">16.9°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-light">62.4°<sup>f</sup></span>
<span class="visually-hidden">.</span>
<span class="d-inline-block d-md-none opacity-0 pe-none" style="width:58px;"> </span>
</h4>
</div>
<div class="mb-4 opacity-50 position-relative">
<h4 class="d-inline-block h3 mb-0">
<span class="visually-hidden">In </span>
<span class="badge text-bg-light">2075</span>
<span class="visually-hidden"> Earth's average temperature is estimated to be </span>
<span class="badge celsius mono text-bg-light visually-hidden">18.1°<sup>c</sup></span>
<span class="visually-hidden">/</span>
<span class="badge fahrenheit mono text-bg-light">64.6°<sup>f</sup></span>
<span class="visually-hidden">.</span>
<span class="d-inline-block d-md-none opacity-0 pe-none" style="width:58px;"> </span>
</h4>
</div>
<p class="h6">Units</p>
<div class="align-items-center d-flex gap-3 justify-content-center mb-3 position-relative">
<button class="btn btn-dark btn-sm shadow-sm" id="celsius">Celsius</button>
<button class="btn btn-dark btn-sm d-none shadow-sm" id="fahrenheit">Fahrenheit</button>
</div>
<h5 class="h6">Sources</h5>
<p class="visually-hidden">The temperatures on this website are sourced from the National Oceanic and Atmospheric Administration's (NOAA) Global Surface Temperature Analysis data that includes records from as far back as 1850.</p>
<div class="align-items-center d-flex gap-3 justify-content-center mb-5">
<a class="btn btn-dark btn-sm shadow-sm" href="https://www.ncei.noaa.gov/access/monitoring/climate-at-a-glance/global/time-series" target="_blank">NCEI NOAA <sub>1</sub></a>
<a class="btn btn-dark btn-sm shadow-sm" href="https://www.ncei.noaa.gov/access/monitoring/monthly-report/global/202313#gtemp" target="_blank">NCEI NOAA <sub>2</sub></a>
</div>
<p class="h4">Tell Us How You're Feeling</p>
<div class="align-items-center d-flex gap-2 justify-content-center mb-5 position-relative">
<button class="btn btn-light btn-lg feeling shadow-sm" id="angry">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-emoji-angry" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/>
<path d="M4.285 12.433a.5.5 0 0 0 .683-.183A3.5 3.5 0 0 1 8 10.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.5 4.5 0 0 0 8 9.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683m6.991-8.38a.5.5 0 1 1 .448.894l-1.009.504c.176.27.285.64.285 1.049 0 .828-.448 1.5-1 1.5s-1-.672-1-1.5c0-.247.04-.48.11-.686a.502.502 0 0 1 .166-.761zm-6.552 0a.5.5 0 0 0-.448.894l1.009.504A1.94 1.94 0 0 0 5 6.5C5 7.328 5.448 8 6 8s1-.672 1-1.5c0-.247-.04-.48-.11-.686a.502.502 0 0 0-.166-.761z"/>
</svg>
</button>
<button class="btn btn-light btn-lg feeling shadow-sm" id="grimace">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-emoji-grimace" viewBox="0 0 16 16">
<path d="M7 6.25c0 .69-.448 1.25-1 1.25s-1-.56-1-1.25S5.448 5 6 5s1 .56 1 1.25m3 1.25c.552 0 1-.56 1-1.25S10.552 5 10 5s-1 .56-1 1.25.448 1.25 1 1.25m2.98 3.25A1.5 1.5 0 0 1 11.5 12h-7a1.5 1.5 0 0 1-1.48-1.747v-.003A1.5 1.5 0 0 1 4.5 9h7a1.5 1.5 0 0 1 1.48 1.747zm-8.48.75h.25v-.75H3.531a1 1 0 0 0 .969.75m7 0a1 1 0 0 0 .969-.75H11.25v.75zm.969-1.25a1 1 0 0 0-.969-.75h-.25v.75zM4.5 9.5a1 1 0 0 0-.969.75H4.75V9.5zm1.75 2v-.75h-1v.75zm.5 0h1v-.75h-1zm1.5 0h1v-.75h-1zm1.5 0h1v-.75h-1zm1-2h-1v.75h1zm-1.5 0h-1v.75h1zm-1.5 0h-1v.75h1zm-1.5 0h-1v.75h1z"/>
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m0-1A7 7 0 1 1 8 1a7 7 0 0 1 0 14"/>
</svg>
</button>
<button class="btn btn-light btn-lg feeling shadow-sm" id="surprise">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-emoji-surprise" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/>
<path d="M7 5.5C7 6.328 6.552 7 6 7s-1-.672-1-1.5S5.448 4 6 4s1 .672 1 1.5m4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 4 10 4s1 .672 1 1.5M10 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0"/>
</svg>
</button>
<button class="btn btn-light btn-lg feeling shadow-sm" id="sad">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-emoji-tear" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/>
<path d="M6.831 11.43A3.1 3.1 0 0 1 8 11.196c.916 0 1.607.408 2.25.826.212.138.424-.069.282-.277-.564-.83-1.558-2.049-2.532-2.049-.53 0-1.066.361-1.536.824q.126.27.232.535.069.174.135.373ZM6 11.333C6 12.253 5.328 13 4.5 13S3 12.254 3 11.333c0-.706.882-2.29 1.294-2.99a.238.238 0 0 1 .412 0c.412.7 1.294 2.284 1.294 2.99M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5m4 0c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5m-1.5-3A.5.5 0 0 1 10 3c1.162 0 2.35.584 2.947 1.776a.5.5 0 1 1-.894.448C11.649 4.416 10.838 4 10 4a.5.5 0 0 1-.5-.5M7 3.5a.5.5 0 0 0-.5-.5c-1.162 0-2.35.584-2.947 1.776a.5.5 0 1 0 .894.448C4.851 4.416 5.662 4 6.5 4a.5.5 0 0 0 .5-.5"/>
</svg>
</button>
<button class="btn btn-light btn-lg feeling shadow-sm" id="upside-down">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-emoji-smile-upside-down" viewBox="0 0 16 16">
<path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0-1a8 8 0 1 1 0 16A8 8 0 0 1 8 0"/>
<path d="M4.285 6.433a.5.5 0 0 0 .683-.183A3.5 3.5 0 0 1 8 4.5c1.295 0 2.426.703 3.032 1.75a.5.5 0 0 0 .866-.5A4.5 4.5 0 0 0 8 3.5a4.5 4.5 0 0 0-3.898 2.25.5.5 0 0 0 .183.683M7 9.5C7 8.672 6.552 8 6 8s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5m4 0c0-.828-.448-1.5-1-1.5s-1 .672-1 1.5.448 1.5 1 1.5 1-.672 1-1.5"/>
</svg>
</button>
</div>
</div>
</div>
</body>
<script>
let c = document.getElementById('celsius');
let cData = document.querySelectorAll('.celsius');
let f = document.getElementById('fahrenheit');
let fData = document.querySelectorAll('.fahrenheit');
c.addEventListener('click', function() {
c.classList.toggle('d-none');
f.classList.toggle('d-none');
cData.forEach(c => {
c.classList.toggle('visually-hidden');
});
fData.forEach(f => {
f.classList.toggle('visually-hidden');
});
});
f.addEventListener('click', function() {
c.classList.toggle('d-none');
f.classList.toggle('d-none');
cData.forEach(c => {
c.classList.toggle('visually-hidden');
});
fData.forEach(f => {
f.classList.toggle('visually-hidden');
});
});
</script>
</html>