Skip to content

Commit d6b9e47

Browse files
committed
did moar stuff
1 parent 5f899eb commit d6b9e47

File tree

2 files changed

+90
-12
lines changed

2 files changed

+90
-12
lines changed

projectfolder/02-HTML-Fundamentals/index.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<title>The Basic Langauge of The Web: HTML</title>
5+
<title class="article-title">The Basic Language of The Web: HTML</title>
66
<!-- Another CSS option is the style element and declare your CSS in there. This can work, but if you have a lot of CSS code, the html file becomes a longigated pain in the ass
77
<style>
88
h1 {
@@ -14,7 +14,7 @@
1414
</head>
1515
<body>
1616
<!-- Comment Block, this his how you do comments in html-->
17-
<header>
17+
<header class="main-header">
1818
<!-- We can do inline CSS style like below
1919
<h1 style="color: blue">
2020
But we dont want do this
@@ -33,7 +33,7 @@ <h1>📘 The Code Magazine</h1>
3333
<header>
3434
<h2>The Basic Langauge of The Web: HTML</h2>
3535
<img src="./imgs/laura-jones.jpg" src="the person who wrote this" width="50" height="50" />
36-
<p>Posted by <strong>Laura Jones </strong> on Monday, June 21st 2027</p>
36+
<p id="author">Posted by <strong>Laura Jones </strong> on Monday, June 21st 2027</p>
3737
<br />
3838

3939
<img src="./imgs/post-img.jpg" alt="This is the voice of Satan" width="500" height="200" />
@@ -79,29 +79,31 @@ <h3>Why should you learn HTML</h3>
7979
<p>Hopefully you learned something new here. See you next time!</p>
8080
</article>
8181
<!--- Aside element is used for secondary information designed to compliment information-->
82-
<asie>
83-
<h3><strong>Related Post</strong></h3>
84-
<ul>
82+
<aside class="related-aside">
83+
<h4><strong>Related Posts</strong></h4>
84+
<ul class="related-list">
8585
<li>
8686
<img src="imgs/related-1.jpg" alt="How to Learn Web Development" height="50" width="50" />
8787
<a href="#"> How to Learn Web Development</a>
88-
<p>By Jonas Schmeltmann</p>
88+
<p class="related-author">By Jonas Schmeltmann</p>
8989
</li>
9090
<br />
9191
<li>
9292
<img src="imgs/related-2.jpg" alt="Unknown Power of CSS" height="50" width="50" />
9393
<a href="#"> The Uknown Power of CSS</a>
94-
<p>By Jonas Schmeltmann</p>
94+
<p class="related-author">By Jonas Schmeltmann</p>
9595
</li>
9696
<br />
9797
<li>
9898
<img src="imgs/related-3.jpg" alt="Why Javascript is Awsome" height="50" width="50" />
9999
<a href="#"> Why Javascript is Awsome</a>
100-
<p>By Jonas Schmeltmann</p>
100+
<p class="related-author">By Jonas Schmeltmann</p>
101101
</li>
102102
</ul>
103-
</asie>
103+
</aside>
104104

105-
<footer>Copyright &copy 2017 by The Code Magazine</footer>
105+
<footer>
106+
<p id="copyright">Copyright &copy 2017 by The Code Magazine</p>
107+
</footer>
106108
</body>
107109
</html>
Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
h1,
2+
h2,
3+
h3,
4+
h4,
5+
p,
6+
li {
7+
font-family: sans-serif;
8+
color: #444;
9+
}
10+
11+
h1,
12+
h2,
13+
h3 {
14+
color: #1098ad;
15+
}
16+
117
h1 {
2-
color: blue;
18+
font-size: 26px;
19+
text-transform: uppercase;
20+
font-style: italic;
21+
}
22+
23+
h2 {
24+
font-size: 40px;
25+
border-bottom: 5px solid #1098ad;
26+
}
27+
28+
h3 {
29+
font-size: 30px;
30+
}
31+
h4 {
32+
font-size: 20px;
33+
text-transform: uppercase;
34+
text-align: center;
35+
}
36+
p {
37+
font-size: 22px;
38+
line-height: 1.5;
39+
}
40+
41+
li {
42+
font-size: 20px;
43+
}
44+
45+
/* footer p {
46+
font-size: 16px;
47+
} */
48+
/* article header p {
49+
font-style: italic;
50+
} */
51+
52+
#author {
53+
font-style: italic;
54+
font-size: 18px;
55+
}
56+
57+
#copyright {
58+
font-style: italic;
59+
font-size: 16px;
60+
}
61+
62+
.related-author {
63+
font-size: 18px;
64+
font-weight: bold;
65+
}
66+
67+
.related-list p {
68+
list-style: none;
69+
}
70+
71+
.main-header {
72+
background-color: #f7f7f7;
73+
}
74+
75+
aside {
76+
background-color: #f7f7f7;
77+
border-top: 5px solid #1098ad;
78+
border-bottom: 5px solid #1098ad;
379
}

0 commit comments

Comments
 (0)