forked from Elevationacademy/userPage-API-Project-Student
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (64 loc) · 2.31 KB
/
index.html
File metadata and controls
74 lines (64 loc) · 2.31 KB
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
<!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">
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
</head>
<body>
<script script id="user-template" type="text/x-handlebars-template">
<div>
<img id="#profile-pic" src={{picture}} alt="">
<div class="user-info">
<span >{{firstName}} {{lastName}}</span>
<br>
<span class="user-info">{{city}}, {{state}}</span>
</div>
</div>
</script>
<script script id="quote-template" type="text/x-handlebars-template">
<div>
<div>Favorite Quote:</div>
<p>{{quote}}</p>
<div>-Kanye West</div>
</div>
</script>
<script id="poke-template" type="text/x-handlebars-template">
<span>
<img id="pokemon-image" src={{image}} alt="">
<div id="pokemon-text">Favorite Pokemon: {{name}}</div>
</span>
</script>
<script id="meat-template" type="text/x-handlebars-template">
<div>
<p class="meat-text">{{text}}</p>
</div>
</script>
<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 id="loadUser">Load User Data</button>
<button id="displayUser">Display User</button>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.6/handlebars.min.js"></script>
<script src="APIManager.js"></script>
<script src="Renderer.js"></script>
<script src="main.js"></script>
</body>
</html>