-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (41 loc) · 1.94 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
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://use.typekit.net/mmx4uow.css">
</head>
<body>
<div class="container">
<header>
<img class="logo" src="images/logo.png" alt="the Oldagram typeface logo">
<img class="avatar" src="images/user-avatar.png" alt="avatar of logged in user">
</header>
</div>
<template id="post">
<article id="0">
<section class="post-header">
<img class="avatar" src="#" alt="avatar for this post's author">
<div class="post-user">
<p class="bold" id="post-user-name"></p>
<p id="post-user-location"></p>
</div>
</section>
<section class="post-img">
<img class="main-img" src="#" alt="an image posted by this author">
</section>
<footer>
<div class="action-btns">
<img class="action-icon action-like" src="images/icon-heart.png" alt="outline of a heart" onclick="addLike('post-0')">
<img class="action-icon action-comment" src="images/icon-comment.png" alt="outline of a comment bubble">
<img class="action-icon action-dm" src="images/icon-dm.png" alt="outline of a paper airplane">
</div>
<div class="post-info">
<p class="likes bold"><span id="likes-num">0</span> likes</p>
<p class="comment"><span class="bold">username</span> user's comment</p>
</div>
</footer>
</article>
</template>
<script src="index.js"></script>
</body>
</html>