-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (85 loc) · 2.36 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
<html>
<head>
<title>U.S. ELECTION MAP</title>
<link
href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700|Montserrat:400,700"
rel="stylesheet"
type="text/css"
/>
<link
href="https://fonts.googleapis.com/css?family=Bitter"
rel="stylesheet"
/>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body onload="onLoad();">
<div class="page">
<header>
<h1>U.S. ELECTION MAP</h1>
</header>
<div class="map-container">
<canvas
id="map_canvas"
width="800"
height="550"
style="position: relative"
>
</canvas>
<table
id="stateResults"
style="position: absolute; bottom: 10px; right: 10px"
>
<theader>
<tr>
<th>STATE NAME</th>
<th>Abbreviation</th>
</tr>
</theader>
<tbody>
<tr>
<td class="name-1">NAME1</td>
<td class="name-1">RESULTS1</td>
</tr>
<tr>
<td class="name-2">NAME2</td>
<td class="name-2">RESULTS2</td>
</tr>
<tr>
<td class="winner">WINNER:</td>
<td class="winner">WINNER NAME</td>
</tr>
</tbody>
</table>
<table
id="countryResults"
style="position: absolute; top: 10px; left: 10px"
>
<tbody>
<tr>
<td class="name-1">NAME1</td>
<td class="name-1">RESULTS1</td>
<td class="name-2">NAME2</td>
<td class="name-2">RESULTS2</td>
<th>WINNER</th>
<th>Name</th>
</tr>
</tbody>
</table>
</div>
<br clear="all" />
<footer>
<p>
© Lorena 2021 <span>//</span> HTML5 Map Created By: <a href="http://dougx.net/map/usmap.html" target="_blank">DougX.net</a></p>
>
</p>
</footer>
</div>
<!-- map.js -->
<script type="text/javascript" src="map.js"></script>
<script
type="text/javascript"
src="https://s3.amazonaws.com/media.skillcrush.com/skillcrush/wp-content/uploads/2017/11/map.js"
></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>