Skip to content

Commit b823f2d

Browse files
committed
section-2: Create blog index and blog page.
1 parent 10de6bc commit b823f2d

File tree

4 files changed

+101
-0
lines changed

4 files changed

+101
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

starter/.DS_Store

6 KB
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>BLOG</title>
5+
<meta charset="UTF-8" />
6+
</head>
7+
8+
<body>
9+
<h2>BLOG</h1>
10+
<a href="index.html">Home</a>
11+
</body>
12+
</html>
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>The Basic Language of the Web: HTML</title>
5+
<meta charset="UTF-8" />
6+
</head>
7+
8+
<body>
9+
<!--
10+
<h1>The Basic Language of the Web: HTML</h1>
11+
<h2>The Basic Language of the Web: HTML</h2>
12+
<h3>The Basic Language of the Web: HTML</h3>
13+
<h4>The Basic Language of the Web: HTML</h4>
14+
<h5>The Basic Language of the Web: HTML</h5>
15+
<h6>The Basic Language of the Web: HTML</h6>
16+
-->
17+
18+
<header>
19+
<h1>📘 The Code Magazine</h1>
20+
<nav>
21+
<a href="blog.html">Blog</a>
22+
<a href="#">Challenges</a>
23+
<a href="#">Flexbox</a>
24+
<a href="#">CSS Grid</a>
25+
</nav>
26+
</header>
27+
28+
<article>
29+
<header>
30+
<h2>The Basic Language of the Web: HTML</h2>
31+
<img alt="Author."
32+
height="50"
33+
src="laura-jones.jpg"
34+
width="50"/>
35+
<p>Posted by <strong>Laura Jones</strong> on Monday, June 21st 2027</p>
36+
<img alt="HTML code on a screen."
37+
height="200"
38+
src="post-img.jpg"
39+
width="500"/>
40+
</header>
41+
42+
<p>
43+
All modern websites and web applications are built using three <em>fundamental</em> technologies: HTML, CSS and JavaScript.
44+
These are the languages of the web.
45+
</p>
46+
<p>
47+
In this post, let's focus on HTML. We will learn what HTML is all about, and why you too should learn it.
48+
</p>
49+
50+
<h3>What is HTML?</h3>
51+
<p>
52+
HTML stands for <strong>H</strong>yper<strong>T</strong>ext<strong>M</strong>arkup <strong>=L</strong>anguage.
53+
It's a markup language that web developers use to structure and describe the content of a webpage (not a programming language).
54+
</p>
55+
<p>
56+
HTML consists of elements that describe different types of content: paragraphs, links, headings, images, video, etc. Web browsers understand HTML and render HTML code as websites.
57+
</p>
58+
<p>In HTML, each element is made up of 3 parts:</p>
59+
<ol>
60+
<li>The opening tag</li>
61+
<li>The closing tag</li>
62+
<li>The actual element</li>
63+
</ol>
64+
<p>
65+
You can learn more at
66+
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML"
67+
target="_blank">
68+
MDN Web Docs
69+
</a>
70+
.
71+
</p>
72+
73+
<h3>Why should you learn HTML?</h3>
74+
<p>There are countless reasons for learning the fundamental language of the web. Here are 5 of them:</p>
75+
<ul>
76+
<li>To be able to use the fundamental web dev language</li>
77+
<li>To hand-craft beautiful websites instead of relying on tools like Worpress or Wix</li>
78+
<li>To build web applications</li>
79+
<li>To impress friends</li>
80+
<li>To have fun 😃</li>
81+
</ul>
82+
<p>Hopefully you learned something new here. See you next time!</p>
83+
</article>
84+
85+
<footer>
86+
Copyright &copy; 2027 by The Code Magazine.
87+
</footer>
88+
</body>
89+
</html>

0 commit comments

Comments
 (0)