-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (26 loc) · 969 Bytes
/
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
<!Doctype html>
<html>
<head>
<meta charset="utf-8">
<title>route</title>
<link rel="stylesheet" href="css/main.css">
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.3.js"></script>
<script>
function init() {
gapi.client.setApiKey('AIzaSyAj_RzplX73X3ga1QvTHWqcT-cAejPbVyU');
gapi.client.load('urlshortener', 'v1');
}
</script>
<script src="https://apis.google.com/js/client.js?onload=init"></script>
<script src="link-shortener.js"></script>
</head>
<body>
<div class="center">
<h1 class="heading">Route people to their corresponding appstore.</h1>
<input type="text" id="field1" class="appstore-link" placeholder="Apple Appstore link...">
<input type="text" id="field2" class="appstore-link" placeholder="Android Appstore link...">
<button type="submit" id="shorten">Shorten</button>
<h1 id="shortLink" class="heading"></h1>
</div>
</body>
</html>