forked from johndward01/CSS_Exercise
-
Notifications
You must be signed in to change notification settings - Fork 480
/
index.html
66 lines (62 loc) · 1.44 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
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>CSS Intro</title>
<!-- Exercise 1: Add a link element with a href attribute that links your external css file to this document -->
</head>
<body>
<header>
<nav>
<ul>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/about">About</a>
</li>
<li>
<a href="/projects">Projects</a>
</li>
</ul>
</nav>
</header>
<main>
<section>
<h1>Main Heading</h1>
<img src="./images/example.png" alt="Author Headshot" />
<p>Author.. Bio...</p>
</section>
<article>
<section>
<h2>Sub Heading</h2>
<p>Lorem ipsum...</p>
</section>
<section>
<h2>Sub Heading</h2>
<p>Lorem ipsum...</p>
<div>
<h3>Another Sub Heading</h3>
<p>Lorem ipsum...</p>
</div>
</section>
</article>
</main>
<footer>
<nav>
<ul>
<li>
<a href="/privacy">Privacy Policy</a>
</li>
<li>
<a href="/terms">Terms and Conditions</a>
</li>
</ul>
</nav>
<div>
<p>Powered by 🕯️</p>
<p>© TrueCoders 2021-24</p>
</div>
</footer>
</body>
</html>