- 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 Nine. Or more precisely night.</h1>
<time datetime="2018-11-27T03:00">03:00</time>
<!-- Perform the first task in the following paragraph -->
<p>Suddenly I woke up <time datetime="2018-11-27">tonight</time> because I had a nightmare: what if people suddenly no longer needed coders, and soon everything is done by robots?</p>
<!-- Perform the second task in the following paragraph -->
<p>“What a beautiful thought”, I thought, and I rolled over and went to sleep.</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
- Enclose the text in the first paragraph, which begins with the words
what if people
and ends withdone by robots
, in the<i>
tag. - Enclose the word
beautiful
in the second paragraph using the tag<em>
.
Comments