-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (58 loc) · 2.01 KB
/
Copy pathindex.html
File metadata and controls
59 lines (58 loc) · 2.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prep 5</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav class="navbar">
<div class="navbar-brand">AppName</div>
<ul class="navbar-links">
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<div class="main-container" style="display:flex; justify-items: center;">
<!--
TODO 1: Change the flex direction of the container below
so that the post elements are under the title "Posts"
and the Post button is under the post elements.
It should be a vertical feed of posts.
-->
<div style="display:flex; flex-direction: row;">
<h1>Posts</h1>
<div class="posts">
<div>
<img src="assets/images/apple.png">
<p>This is an apple!</p>
</div>
<div>
<img src="assets/images/apple.png">
<p>This is an apple!</p>
</div>
<div>
<img src="assets/images/apple.png">
<p>This is an apple!</p>
</div>
<div>
<img src="assets/images/apple.png">
<p>This is an apple!</p>
</div>
<div>
<img src="assets/images/apple.png">
<p>This is an apple!</p>
</div>
<!--
TODO 2: Add 3 posts with your own images below.
Be sure to add a relevant comment for each of your new posts.
-->
</div>
<button class="pretty-button">Post</button>
</div>
</div>
</body>
</html>