Skip to content

Commit d0aa0c7

Browse files
done with fundamentals
1 parent 569a4d5 commit d0aa0c7

File tree

2 files changed

+379
-122
lines changed

2 files changed

+379
-122
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 138 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<title>The Basic Language of the Web: HTML</title>
6+
<link rel="stylesheet" href="style.css" />
67
</head>
78

89
<body>
@@ -14,133 +15,148 @@ <h4>The Basic Language of the Web: HTML</h4>
1415
<h5>The Basic Language of the Web: HTML</h5>
1516
<h6>The Basic Language of the Web: HTML</h6>
1617
-->
17-
18-
<header>
19-
<h1>📘 The Code Magazine</h1>
20-
21-
<nav>
22-
<a href="blog.html">Blog</a>
23-
<a href="#">Challenges</a>
24-
<a href="#">Flexbox</a>
25-
<a href="#">CSS Grid</a>
26-
</nav>
27-
</header>
28-
29-
<article>
30-
<header>
31-
<h2>The Basic Language of the Web: HTML</h2>
32-
33-
<img
34-
src="img/laura-jones.jpg"
35-
alt="Headshot of Laura Jones"
36-
height="50"
37-
width="50"
38-
/>
39-
40-
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
41-
42-
<img
43-
src="img/post-img.jpg"
44-
alt="HTML code on a screen"
45-
width="500"
46-
height="200"
47-
/>
18+
<div class="container">
19+
<button>👍🏽 Like</button>
20+
<header class="main-header clearfix">
21+
<h1>📘 The Code Magazine</h1>
22+
23+
<nav>
24+
<a href="blog.html">Blog</a>
25+
<a href="#">Challenges</a>
26+
<a href="#">Flexbox</a>
27+
<a href="#">CSS Grid</a>
28+
</nav>
29+
30+
<!-- <div class="clear"></div> -->
4831
</header>
4932

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

0 commit comments

Comments
 (0)