Skip to content

Commit b87c90c

Browse files
committed
complete section 2
1 parent 10de6bc commit b87c90c

File tree

9 files changed

+155
-0
lines changed

9 files changed

+155
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Blog</title>
8+
</head>
9+
<body>
10+
<h2>Blog</h2>
11+
<a href="./index.html">Home</a>
12+
</body>
13+
</html>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Document</title>
8+
</head>
9+
<body>
10+
<article>
11+
<h3>Converse Chunk Taylor All Star Low Top</h3>
12+
13+
<img src="img/challenges.jpg" alt="Converse" width="250" height="250" />
14+
<p><strong>$65</strong></p>
15+
16+
<p>Free shipping</p>
17+
18+
<p>Ready to dress up...</p>
19+
20+
<a href="#"> More information &RightArrow;</a>
21+
22+
<h4>Product details</h4>
23+
<ul>
24+
<li>Lightweight</li>
25+
<li>Lightly padded</li>
26+
<li>Iconic</li>
27+
</ul>
28+
29+
<button>Add to cart</button>
30+
</article>
31+
</body>
32+
</html>
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<!-- head will content title, links to css, js, meta data -->
4+
<head>
5+
<meta charset="UTF-8" />
6+
<title>The Basic Language of the Web: HTML</title>
7+
</head>
8+
9+
<body>
10+
<header>
11+
<h1>📘 The Code Magazine</h1>
12+
13+
<nav>
14+
<a href="./blog.html">Blog</a>
15+
<!-- # means it will go back to the beginning of the page -->
16+
<a href="#">Challenges</a>
17+
</nav>
18+
</header>
19+
20+
<article>
21+
<header>
22+
<h2>The Basic Language of the Web: HTML</h2>
23+
24+
<img
25+
src="img/laura-jones.jpg"
26+
alt="Laura Jones"
27+
width="50"
28+
height="50"
29+
/>
30+
31+
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
32+
<img src="img/post-img.jpg" alt="Post Image" width="500" height="200" />
33+
</header>
34+
<p>
35+
All modern websites and web applications are built using three
36+
<em>fundamental</em>
37+
technologies: HTML, CSS and JavaScript. These are the languages of the
38+
web.
39+
</p>
40+
41+
<p>
42+
In this post, let's focus on HTML. We will learn what HTML is all about,
43+
and why you too should learn it.
44+
</p>
45+
46+
<h3>What is HTML?</h3>
47+
48+
<p>
49+
HTML stands for <strong>H</strong>yper<strong>T</strong>ext
50+
<strong>M</strong>arkup <strong>L</strong>anguage. It's a markup
51+
language that web developers use to structure and describe the content
52+
of a webpage (not a programming language).
53+
</p>
54+
<p>
55+
HTML consists of elements that describe different types of content:
56+
paragraphs, links, headings, images, video, etc. Web browsers understand
57+
HTML and render HTML code as websites.
58+
</p>
59+
60+
<p>In HTML, each element is made up of 3 parts:</p>
61+
<ol>
62+
<li>The opening tag</li>
63+
<li>The closing tag</li>
64+
<li>The actual element</li>
65+
</ol>
66+
67+
You can learn more at the MDN Web Docs.
68+
69+
<h3>Why should you learn HTML?</h3>
70+
71+
<p>
72+
There are countless reasons for learning the fundamental language of the
73+
web. Here are 5 of them:
74+
</p>
75+
<ul>
76+
<li>To be able to use the fundamental web dev language</li>
77+
<li>
78+
To hand-craft beautiful websites instead of relying on tools like
79+
Worpress or Wix
80+
</li>
81+
<li>To build web applications</li>
82+
<li>To impress friends</li>
83+
<li>To have fun 😃</li>
84+
</ul>
85+
</article>
86+
87+
<aside>
88+
<h4>Related post</h4>
89+
<ul>
90+
<li>
91+
<img src="img/related-1.jpg" width="75" height="75" />
92+
<a href="#">Title 1</a>
93+
<p>By Author 1</p>
94+
</li>
95+
<li>
96+
<img src="img/related-2.jpg" width="75" height="75" />
97+
<a href="#">Title 2</a>
98+
<p>By Author 2</p>
99+
</li>
100+
<li>
101+
<img src="img/related-3.jpg" width="75" height="75" />
102+
<a href="#">Title 3</a>
103+
<p>By Author 3</p>
104+
</li>
105+
</ul>
106+
</aside>
107+
108+
<footer>Copyright &copy; 2023 by The Code Magazine</footer>
109+
</body>
110+
</html>

0 commit comments

Comments
 (0)