Skip to content

Commit fa0b82e

Browse files
committed
Start
1 parent 10de6bc commit fa0b82e

File tree

11 files changed

+244
-294
lines changed

11 files changed

+244
-294
lines changed

final/03-CSS-Fundamentals/index.html

Lines changed: 120 additions & 148 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link href="style.css" rel="stylesheet" />
63

7-
<title>The Basic Language of the Web: HTML</title>
8-
</head>
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link href="style.css" rel="stylesheet" />
97

10-
<body>
11-
<!--
8+
<title>The Basic Language of the Web: HTML</title>
9+
</head>
10+
11+
<body>
12+
<!--
1213
<h1>The Basic Language of the Web: HTML</h1>
1314
<h2>The Basic Language of the Web: HTML</h2>
1415
<h3>The Basic Language of the Web: HTML</h3>
@@ -17,150 +18,121 @@ <h5>The Basic Language of the Web: HTML</h5>
1718
<h6>The Basic Language of the Web: HTML</h6>
1819
-->
1920

20-
<div class="container">
21-
<header class="main-header">
22-
<h1>📘 The Code Magazine</h1>
23-
24-
<nav>
25-
<!-- <strong>This is the navigation</strong> -->
26-
<a href="blog.html">Blog</a>
27-
<a href="#">Challenges</a>
28-
<a href="#">Flexbox</a>
29-
<a href="#">CSS Grid</a>
30-
</nav>
31-
</header>
21+
<div class="container">
22+
<header class="main-header">
23+
<h1>📘 The Code Magazine</h1>
3224

33-
<article>
34-
<header class="post-header">
35-
<h2>The Basic Language of the Web: HTML</h2>
36-
37-
<img
38-
src="img/laura-jones.jpg"
39-
alt="Headshot of Laura Jones"
40-
height="50"
41-
width="50"
42-
/>
43-
44-
<p id="author">
45-
Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027
46-
</p>
47-
48-
<img
49-
src="img/post-img.jpg"
50-
alt="HTML code on a screen"
51-
width="500"
52-
height="200"
53-
class="post-img"
54-
/>
55-
<button>❤️ Like</button>
56-
</header>
57-
58-
<p>
59-
All modern websites and web applications are built using three
60-
<em>fundamental</em>
61-
technologies: HTML, CSS and JavaScript. These are the languages of the
62-
web.
63-
</p>
25+
<nav>
26+
<!-- <strong>This is the navigation</strong> -->
27+
<a href="blog.html">Blog</a>
28+
<a href="#">Challenges</a>
29+
<a href="#">Flexbox</a>
30+
<a href="#">CSS Grid</a>
31+
</nav>
32+
</header>
6433

65-
<p>
66-
In this post, let's focus on HTML. We will learn what HTML is all
67-
about, and why you too should learn it.
68-
</p>
34+
<article>
35+
<header class="post-header">
36+
<h2>The Basic Language of the Web: HTML</h2>
6937

70-
<h3>What is HTML?</h3>
71-
<p>
72-
HTML stands for <strong>H</strong>yper<strong>T</strong>ext
73-
<strong>M</strong>arkup <strong>L</strong>anguage. It's a markup
74-
language that web developers use to structure and describe the content
75-
of a webpage (not a programming language).
76-
</p>
77-
<p>
78-
HTML consists of elements that describe different types of content:
79-
paragraphs, links, headings, images, video, etc. Web browsers
80-
understand HTML and render HTML code as websites.
81-
</p>
82-
<p>In HTML, each element is made up of 3 parts:</p>
83-
84-
<ol>
85-
<li class="first-li">The opening tag</li>
86-
<li>The closing tag</li>
87-
<li>The actual element</li>
88-
</ol>
89-
90-
<p>
91-
You can learn more at
92-
<a
93-
href="https://developer.mozilla.org/en-US/docs/Web/HTML"
94-
target="_blank"
95-
>MDN Web Docs</a
96-
>.
97-
</p>
98-
99-
<h3>Why should you learn HTML?</h3>
38+
<img src="img/laura-jones.jpg" alt="Headshot of Laura Jones" height="50" width="50" />
10039

101-
<p>
102-
There are countless reasons for learning the fundamental language of
103-
the web. Here are 5 of them:
40+
<p id="author">
41+
Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027
10442
</p>
10543

106-
<ul>
107-
<li class="first-li">
108-
To be able to use the fundamental web dev language
109-
</li>
110-
<li>
111-
To hand-craft beautiful websites instead of relying on tools like
112-
Worpress or Wix
113-
</li>
114-
<li>To build web applications</li>
115-
<li>To impress friends</li>
116-
<li>To have fun 😃</li>
117-
</ul>
118-
119-
<p>Hopefully you learned something new here. See you next time!</p>
120-
</article>
121-
122-
<aside>
123-
<h4>Related posts</h4>
124-
125-
<ul class="related">
126-
<li>
127-
<img
128-
src="img/related-1.jpg"
129-
alt="Person programming"
130-
width="75"
131-
height="75"
132-
/>
133-
<a href="#">How to Learn Web Development</a>
134-
<p class="related-author">By Jonas Schmedtmann</p>
135-
</li>
136-
<li>
137-
<img
138-
src="img/related-2.jpg"
139-
alt="Lightning"
140-
width="75"
141-
height="75"
142-
/>
143-
<a href="#">The Unknown Powers of CSS</a>
144-
<p class="related-author">By Jim Dillon</p>
145-
</li>
146-
<li>
147-
<img
148-
src="img/related-3.jpg"
149-
alt="JavaScript code on a screen"
150-
width="75"
151-
height="75"
152-
/>
153-
<a href="#">Why JavaScript is Awesome</a>
154-
<p class="related-author">By Matilda</p>
155-
</li>
156-
</ul>
157-
</aside>
158-
159-
<footer>
160-
<p id="copyright" class="copyright text">
161-
Copyright &copy; 2027 by The Code Magazine.
162-
</p>
163-
</footer>
164-
</div>
165-
</body>
166-
</html>
44+
<img src="img/post-img.jpg" alt="HTML code on a screen" width="500" height="200" class="post-img" />
45+
<button>❤️ Like</button>
46+
</header>
47+
48+
<p>
49+
All modern websites and web applications are built using three
50+
<em>fundamental</em>
51+
technologies: HTML, CSS and JavaScript. These are the languages of the
52+
web.
53+
</p>
54+
55+
<p>
56+
In this post, let's focus on HTML. We will learn what HTML is all
57+
about, and why you too should learn it.
58+
</p>
59+
60+
<h3>What is HTML?</h3>
61+
<p>
62+
HTML stands for <strong>H</strong>yper<strong>T</strong>ext
63+
<strong>M</strong>arkup <strong>L</strong>anguage. It's a markup
64+
language that web developers use to structure and describe the content
65+
of a webpage (not a programming language).
66+
</p>
67+
<p>
68+
HTML consists of elements that describe different types of content:
69+
paragraphs, links, headings, images, video, etc. Web browsers
70+
understand HTML and render HTML code as websites.
71+
</p>
72+
<p>In HTML, each element is made up of 3 parts:</p>
73+
74+
<ol>
75+
<li class="first-li">The opening tag</li>
76+
<li>The closing tag</li>
77+
<li>The actual element</li>
78+
</ol>
79+
80+
<p>
81+
You can learn more at
82+
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML" target="_blank">MDN Web Docs</a>.
83+
</p>
84+
85+
<h3>Why should you learn HTML?</h3>
86+
87+
<p>
88+
There are countless reasons for learning the fundamental language of
89+
the web. Here are 5 of them:
90+
</p>
91+
92+
<ul>
93+
<li class="first-li">
94+
To be able to use the fundamental web dev language
95+
</li>
96+
<li>
97+
To hand-craft beautiful websites instead of relying on tools like
98+
Worpress or Wix
99+
</li>
100+
<li>To build web applications</li>
101+
<li>To impress friends</li>
102+
<li>To have fun 😃</li>
103+
</ul>
104+
105+
<p>Hopefully you learned something new here. See you next time!</p>
106+
</article>
107+
108+
<aside>
109+
<h4>Related posts</h4>
110+
111+
<ul class="related">
112+
<li>
113+
<img src="img/related-1.jpg" alt="Person programming" width="75" height="75" />
114+
<a href="#">How to Learn Web Development</a>
115+
<p class="related-author">By Jonas Schmedtmann</p>
116+
</li>
117+
<li>
118+
<img src="img/related-2.jpg" alt="Lightning" width="75" height="75" />
119+
<a href="#">The Unknown Powers of CSS</a>
120+
<p class="related-author">By Jim Dillon</p>
121+
</li>
122+
<li>
123+
<img src="img/related-3.jpg" alt="JavaScript code on a screen" width="75" height="75" />
124+
<a href="#">Why JavaScript is Awesome</a>
125+
<p class="related-author">By Matilda</p>
126+
</li>
127+
</ul>
128+
</aside>
129+
130+
<footer>
131+
<p id="copyright" class="copyright text">
132+
Copyright &copy; 2027 by The Code Magazine.
133+
</p>
134+
</footer>
135+
</div>
136+
</body>
137+
138+
</html>

0 commit comments

Comments
 (0)