forked from thomaspark/flexboxfroggy
-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
117 lines (116 loc) · 5.25 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Flexbox Froggy - A game for learning CSS flexbox</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:url" content="http://flexboxfroggy.com">
<meta property="og:type" content="website">
<meta property="og:title" content="Flexbox Froggy">
<meta property="og:description" content="A game for learning CSS flexbox">
<meta property="og:image" content="http://flexboxfroggy.com/images/screenshot.png">
<meta property="fb:app_id" content="916849395036923">
<meta name="twitter:url" content="http://flexboxfroggy.com">
<meta name="twitter:title" content="Flexbox Froggy">
<meta name="twitter:description" content="A game for learning CSS flexbox">
<meta name="twitter:image" content="http://flexboxfroggy.com/images/screenshot.png">
<link rel="stylesheet" href="node_modules/animate.css/animate.min.css">
<link href='https://fonts.googleapis.com/css?family=PT+Sans|Fredoka+One|Source+Code+Pro' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<section id="sidebar">
<div>
<div id="level-counter">
<span class="arrow left">◀</span>
<span id="level-indicator">
<span id="labelLevel" class="translate">Level</span>
<span class="current">1</span>
<span id="labelOf" class="translate">of</span>
<span class="total">1</span>
<span class="caret">▾</span>
</span>
<span class="arrow right">▶</span>
<div id="levelsWrapper" class="tooltip">
<div id="levels"></div>
<div id="labelReset" class="translate">Reset</div>
</div>
</div>
<h1>Flexbox Froggy</h1>
<p id="instructions"></p>
<p id="docs"></p>
</div>
<div id="editor">
<div id="css">
<div class="line-numbers">1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10</div>
<pre id="before"></pre>
<textarea id="code" autofocus></textarea>
<pre id="after"></pre>
</div>
<div id="next" class="button translate">Next</div>
</div>
<div id="share">
<p class="social">
<span id="tweet">
<a href="https://twitter.com/share" class="twitter-share-button"{count} data-url="http://flexboxfroggy.com" data-via="thomashpark">Tweet</a>
<a href="https://twitter.com/thomashpark" class="twitter-follow-button" data-show-count="false">Follow @thomashpark</a>
</span>
<span class="fb-like" data-href="http://flexboxfroggy.com" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></span>
</p>
</div>
<div id="credits">
<p>
<span id="labelFooter" class="translate">Flexbox Froggy is created by</span>
<a href="http://thomaspark.co">Thomas Park</a> •
<a href="http://github.com/thomaspark/flexboxfroggy/">GitHub</a> •
<a href="https://twitter.com/thomashpark">Twitter</a>
</p>
<p class="languages">
<a href="#en">English</a> •
<a href="#es">Español</a> •
<a href="#fr">Français</a> •
<a href="#de">Deutsch</a> •
<a href="#pt-br">Português</a> •
<a href="#it">Italiano</a> •
<a href="#lt">Lietuvių</a> •
<a href="#ru">Русский</a> •
<a href="#tr">Türkçe</a> •
<a href="#fa">فارسی</a> •
<a href="#zh-cn">简体中文</a> •
<a href="#ko">한국어</a>
</p>
</div>
</section>
<section id="view">
<div id="board">
<div id="pond">
</div>
<div id="background">
</div>
</div>
</section>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="js/levels.js"></script>
<script src="js/docs.js"></script>
<script src="js/messages.js"></script>
<script src="js/game.js"></script>
<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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23019901-13', 'auto');
ga('send', 'pageview');
</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=916849395036923";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>