forked from scrabill/how-many-days-until-halloween
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (75 loc) · 4.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>How many days until Halloween?</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="img/favicon.ico">
<!-- icon file downloaded from https://www.freefavicon.com/freefavicons/food/iconinfo/pumpkin-152-90895.html -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!--google analytics-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23719072-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="text-center">
<a href="https://github.com/scrabill/how-many-days-until-halloween"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<main class="jumbotron container align-self-stretch">
<div class="row">
<div class="col">
<span id="spooky-ghost-wrapper"><img id="spooky-ghost" src="img/ghost.png" alt="spooky ghost"></span>
<!-- Add Halloween Illustration from https://www.behance.net/gallery/58295301/Free-Halloween-Icon-Set -->
<svg id="illustration" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 56.2 75">
<style>
.st3{fill:#829541}.st4{fill:#6b7d36}
</style>
<ellipse cx="28.1" cy="73.2" rx="28.1" ry="1.8" fill="#bf8e3f"/>
<circle cx="28.1" cy="40.6" r="28.1" fill="#525252"/>
<path d="M49.3 12.4H7c-1.9-.1-3.6 1.3-3.8 3.2-.1 1.9 1.3 3.6 3.2 3.8h42.8c1.9.1 3.6-1.3 3.8-3.2.1-1.9-1.3-3.6-3.2-3.8h-.5z" fill="#aeaeae"/>
<path class="st3" d="M22.7 12.4h-7c.2-1.9 1.9-3.3 3.9-3.1 1.6.2 2.9 1.5 3.1 3.1z"/>
<path class="st3" d="M41.3 12.4H21.9c-.1-3.9 3-7.1 6.8-7.2 3-.1 5.7 1.7 6.7 4.5.7-.5 1.5-.8 2.3-.8 2 0 3.6 1.6 3.6 3.5z"/>
<ellipse class="st3" cx="37.8" cy="2.6" rx="2.2" ry="2.2"/>
<circle class="st3" cx="20.6" cy="4.7" r="1.3"/>
<circle class="st3" cx="23.3" cy="1.3" r="1.3"/>
<path class="st4" d="M26.2 12.4h15.1c0 3-2.4 5.5-5.5 5.5-2.2 0-4.2-1.3-5.1-3.4-1.1 1-2.9.9-3.9-.3-.4-.5-.6-1.1-.6-1.8z"/>
<path class="st4" d="M30.8 14.6v10.2c0 .9.8 1.7 1.7 1.7.9 0 1.7-.8 1.7-1.7V14.6c0-.9-.8-1.7-1.7-1.7-.9 0-1.7.7-1.7 1.7z"/>
<circle class="st4" cx="32.5" cy="30.5" r="1.3"/>
</svg>
<h1 id="spooky">How many days until Halloween?</h1>
<button id="factButton" class="btn btn-default">Next Fact</button>
<h3 class="text-center" id="fact"></h3>
<!--start Spotify player-->
<iframe src="https://open.spotify.com/embed/track/0Igwnx5dmKf4XEQiwXO1u5" width="300" height="80" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe>
<!--How-To: https://developer.spotify.com/documentation/widgets/generate/play-button/-->
<!--end Spotify Player-->
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<p>Powered by <a href="https://getbootstrap.com">Boo-t-strap</a>, Javascript and Spookiness! | <a href="https://github.com/scrabill/how-many-days-until-halloween">Fork this on Github</a></p>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>