Skip to content

Commit 888236e

Browse files
committed
sdfa
1 parent 037b12f commit 888236e

File tree

2 files changed

+300
-131
lines changed

2 files changed

+300
-131
lines changed

my_solution/03-CSS-Fundamentals/index.html

Lines changed: 137 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -16,136 +16,148 @@ <h5>The Basic Language of the Web: HTML</h5>
1616
<h6>The Basic Language of the Web: HTML</h6>
1717
-->
1818

19-
<header>
20-
<h1>📘 The Code Magazine</h1>
21-
22-
<nav>
23-
<a href="blog.html">Blog</a>
24-
<a href="#">Challenges</a>
25-
<a href="#">Flexbox</a>
26-
<a href="#">CSS Grid</a>
27-
</nav>
28-
</header>
29-
30-
<article>
31-
<header>
32-
<h2>The Basic Language of the Web: HTML</h2>
33-
34-
<img
35-
src="img/laura-jones.jpg"
36-
alt="Headshot of Laura Jones"
37-
height="50"
38-
width="50"
39-
/>
40-
41-
<p id="auther">
42-
Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027
43-
</p>
44-
45-
<img
46-
src="img/post-img.jpg"
47-
alt="HTML code on a screen"
48-
width="500"
49-
height="200"
50-
/>
19+
<div class="container">
20+
<header class="main-header">
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>
5129
</header>
5230

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

0 commit comments

Comments
 (0)