- 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>
03:00
<p>Suddenly I woke up tonight because I had a nightmare: what if people suddenly no longer needed coders, and soon everything is done by robots?</p>
<p>“What a beautiful idea”, 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
03:00
in the tag<time>
, - and then enclose the text
tonight
. - Add the attribute
datetime
with the value2018-11-27T03:00
to the first<time>
tag, - and then add the attribute with the value
2018-11-27
to the second<time>
tag.
Comments