-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (47 loc) · 1.87 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway:200">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Which website gets more traffic?</h1>
<div class="pure-g">
<div class="pure-u-1-4"><p></p></div>
<div class="pure-u-1-4"><p id="left_hand_side" class="button-red pure-button"></p></div>
<div class="pure-u-1-4"><p id="right_hand_side" class="button-blue pure-button"></p></div>
<div class="pure-u-1-4"><p></p></div>
</div>
<div id="answer" title="(drumroll please...)">
<br />
<span id="answer_output"> </span>
<span id="selected_website_rank"> </span>
<br />
<br />
<span id="rejected_website_name"> </span>
<span id="rejected_website_rank"> </span>
<br />
<br />
</div>
<p class="score">
You've got
<u><b><span id="score_output"></span></b></u>
correct so far.
</p>
<p class="about"><br />
by <a href="http://www.uribram.com">Uri Bram</a><br />
<br />
<!-- TK remove the "correct as of" once you find a way to scrape directly from Alexa data, instead of copying data by hand -->
Website data from <a href="http://www.alexa.com/">Alexa.com</a>, correct as of May 2015<br />
</p>
<!-- TK change github link if you change project name -->
<p class="footer"> May 2015. MIT Licensed on <a href="https://github.com/marbiru/which">Github</a>.</p>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type="text/javascript" src="arrays.js"></script>
<script type="text/javascript" src="main.js"></script>
</body>
</html>