- 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 Two. I want to become a coder</h1>
<p>Today I spent the whole evening on the Internet. I read about the advantages of working as a coder. I often spent my free time watching cat videos, of course. But then I remembered something:</p>
<!-- Begin the list here -->
You are helping a useful cause
You can work remotely
Interesting people
Good salary
<p>My desire to learn has dramatically increased.</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;
}
You’ve gone to a different page
Goalscompleted
0
- Add an unordered list
<ul>
to<article>
after the first paragraph, and enclose all of the unmarked text in it. - Enclose the text
You are helping a useful cause
in the list using the element<li>
, - and then you can mark up the element with the text
You can work remotely
. - and finally add an element with the text
Interesting people
.
- Add the last element with the text
Good salary
to the list.
Comments