- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The website of a beginning coder</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<p>Blog</p>
<nav>
Return to home
</nav>
</header>
<main>
<article>
<h1>Day Ten. Summing up</h1>
<time datetime="2018-11-28T12:00">12:00</time>
<!-- Perform the first task in the following paragraph -->
<p>I have completed the first week in my coder course.</p>
<p>What I took away is that there is really nothing complicated about web layout. You just need to know what each tag is used for and use them in accordance with their intended function.</p>
<!-- Perform the second task in the following paragraph -->
<p>All I have left to do is to learn CSS, and that’s it: I will be a cool coder!</p>
</article>
<aside>
Your ad could go here
</aside>
</main>
<footer>
Website footer
</footer>
</body>
</html>
CSS
body {
padding: 0 30px;
font-size: 14px;
line-height: 22px;
font-family: "Georgia", serif;
color: #222222;
}
h1 {
font-size: 20px;
line-height: normal;
}
nav {
color: #888888;
}
aside {
margin: 20px 0;
color: #c4c4c4;
}
time {
color: #6a2cce;
}
You’ve gone to a different page
Goalscompleted
0
- Let’s enclose the text of the first paragraph in
<b>
tags. - Enclose the word
CSS
in the third paragraph using the tag<strong>
.
- Enclose the phrase
to do
in the tag that conveys the appropriate meaning.
Comments