-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (76 loc) · 3.05 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
<!DOCTYPE html>
<head>
<title>
Mary Kate & Sean 2021
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=yes">
<meta name="robots" content="noindex">
<link rel="stylesheet" media="all" href="stylesheets/fonts.css">
<link rel="stylesheet" media="all" href="stylesheets/style.css">
<link rel="stylesheet" media="all" href="stylesheets/desktop_menu.css">
<link rel="stylesheet" media="all" href="stylesheets/mobile_menu.css">
<link rel="stylesheet" media="all" href="stylesheets/media.css">
</head>
<body>
<nav role="navigation">
<div id="title">Mary Kate & Sean 2021</div>
<div id="desktopMenu">
<hr />
<ul>
<a href="" class="current-page"><li>Home</li></a>
<a href="travel.html"><li>Travel</li></a>
<a href="schedule.html"><li>Details</li></a>
<a href="registry.html"><li>Registry</li></a>
<a href="wedding_party.html"><li>Wedding Party</li></a>
<a href="photos.html"><li>Photos</li></a>
<a href="activities.html"><li>Chico Guide</li></a>
<a href="games.html"><li>Solitaire</li></a>
</ul>
</div>
<div id="mobileMenu">
<input type="checkbox" />
<span></span>
<span></span>
<span></span>
<ul id="mobileLinks">
<a href=""><li>Home</li></a>
<a href="travel.html"><li>Travel</li></a>
<a href="schedule.html"><li>Details</li></a>
<a href="registry.html"><li>Registry</li></a>
<a href="wedding_party.html"><li>Wedding Party</li></a>
<a href="photos.html"><li>Photos</li></a>
<a href="activities.html"><li>Chico Guide</li></a>
<a href="games.html"><li>Solitaire</li></a>
</ul>
</div>
</nav>
<div class="content">
<img src="images/us.jpg" alt="picture of Mary Kate & Sean" width=100% />
<div class="contentSection">
<h3>October 9, 2021, Chico, CA</h3>
<p class="center">
Thank you for celebrating the marriage of Mary Kate and Sean! They've now been happily married for <br />
<span id=countdown>...</span> and counting!
</p>
<br />
<p class="center">Please visit the <a href="schedule.html">Details</a> page for event information.</p>
</div>
</div>
</body>
<footer>
<script>
// Courtesy of https://www.w3schools.com/howto/howto_js_countdown.asp
var weddingDate = new Date("2021-10-09T15:00:00-07:00").getTime();
var timer = setInterval(function() {
var now = new Date().getTime();
var distance = now - weddingDate;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("countdown").innerHTML = days + " days, " + hours + " hours, "
+ minutes + " minutes, " + seconds + " seconds";
}, 1000);5
</script>
</footer>