-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhighscores.html
189 lines (182 loc) · 6.35 KB
/
highscores.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
<!DOCTYPE html>
<html lang="en-us">
<head>
<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="icon"
type="image/png"
href="./assets/images/favicon/highscores.png"
/>
<title>JavaScript Code Quiz</title>
<link
href="https://fonts.googleapis.com/css2?family=Arvo&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body onload="populateHighScores()">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="https://stardewvalley.net"
>Eric D. Torres</a
>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- <div class="ml-auto"> -->
<ul class="navbar-nav w-100">
<li class="nav-item active clearfix mr-auto">
<a class="nav-link" href="./index.html"
>JS Game <span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Responsive Portfolio:</a>
</li>
<!-- <li class="nav-item dropdown ml-auto" -->
<!-- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Portfolio Links
</a> -->
<!-- <div class="dropdown-menu" aria-labelledby="navbarDropdown"> -->
<li>
<a
style="color: red"
class="nav-link"
href="https://etorres-revature.github.io/Responsive_Portfolio/"
>Index</a
>
</li>
<li>
<a
style="color: green"
class="nav-link"
href="https://etorres-revature.github.io/Responsive_Portfolio/about_me.html"
>About Me</a
>
</li>
<li>
<a
style="color: yellow"
class="nav-link"
href="https://etorres-revature.github.io/Responsive_Portfolio/portfolio.html"
>Portfolio</a
>
</li>
<li>
<a
style="color: blue"
class="nav-link"
href="https://etorres-revature.github.io/Responsive_Portfolio/contact.html"
>Contact</a
>
</li>
<!-- </div> -->
<!-- </li> -->
<!-- <li class="nav-item">
<a class="nav-link disabled" href="#">Disabled</a>
</li> -->
</ul>
<!-- <form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form> -->
<!-- </div> -->
</div>
</nav>
<div id="quizspacer"></div>
<!-- creating element to contain the high scores -->
<main id="quiz-highscores" class="container-fluid w-75 text-center">
<div id="highscores-page-header" class="row">
<!-- header for the high scores page -->
<h1>RECENT SCORES</h1>
</div>
<!-- conainter elements for numbers, player initials, and scores all populated dynamically with JS -->
<div class="row">
<div id="quiz-rank" class="col-4"></div>
<div id="initials" class="col-4"></div>
<div id="quiz-gamescore" class="col-4"></div>
</div>
</main>
<div id="spacer"></div>
<footer
class="sticky-footer"
style="display: contents; border-color: black; background-color: grey"
>
<div class="container">
<div class="row">
<div class="col">
<h3 id="footer">Visit me on social media:</h3>
</div>
</div>
<!-- footer social media classes and styling from https://www.w3schools.com/howto/howto_css_social_media_buttons.asp -->
<div class="row">
<div class="col" id="social-media">
<a
href="https://www.linkedin.com/in/ericdtorres/"
class="fa fa-linkedin"
target="_blank"
rel="noopener noreferrer"
></a>
<a
href="https://github.com/etorres-revature"
class="fa fa-github"
target="_blank"
rel="noopener noreferrer"
></a>
</div>
</div>
<div class="row">
<div class="col">
<p id="e_mail">
E-mail:
<a href="mailto:etorresnotary@gmail.com"
>etorresnotary@gmail.com</a
>
</p>
</div>
</div>
<div class="row">
<div class="col">
<p id="copyright">© 2020 Eric D. Torres Productions</p>
</div>
</div>
</div>
</footer>
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"
></script>
</body>
</html>