-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (60 loc) · 2.09 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>API Project</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
href="https://fonts.googleapis.com/css?family=Nunito"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Indie+Flower"
rel="stylesheet"
/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
</head>
<body>
<div class="container">
<div class="user-container"></div>
<div class="quote-container"></div>
<div class="content-container">
<div class="pokemon-container"></div>
<div class="meat-container"></div>
</div>
<div class="friends">
<h4>Friends</h4>
<div class="friends-container"></div>
</div>
<div class="buttons">
<button class="loaddata" onclick="Show_Data()">Load User Data</button>
<button>Display User</button>
</div>
<script id="user-template" type="text/x-handlebars-template">
<img src="{{img}}" id="profile-pic" />
<div>{{title}} {{first_name}} {{last_name}}</div>
</script>
<script id="friends-template" type="text/x-handlebars-template">
{{#each friends}}
<div>{{this}}</div>
{{/each}}
</script>
<script id="kayne-template" type="text/x-handlebars-template">
<div>{{kanye}}</div>
</script>
<script id="pokemon-template" type="text/x-handlebars-template">
<img src="{{img_pokemon}}" />
<div> {{name}}</div>
</script>
<script id="bacon-template" type="text/x-handlebars-template">
<div> {{baconValue}}</div>
</script>
<script src="APIManager.js"></script>
<script src="Renderer.js"></script>
<script src="main.js"></script>
</div>
</body>
</html>