- 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 Six. How I failed to understand anything.</h1>
<p>Today I visited several websites to see how they are laid out. I saw some quotes and unfamiliar <code><cite></code> and <code><blockquote></code> tags.</p>
<p>I didn’t understand how these two tags differ from each other. I closed the browser. I’ll figure it out tomorrow.</p>
<p>But look at what I saw.</p>
<!-- Start the pre tag here -->
<blockquote>
<p>Intelligence is highly valued when power is held cheap.</p>
<cite>Jason Statham</cite>
</blockquote>
</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;
}
pre,
code {
font-family: "Courier New", "Courier", monospace;
color: #6a2cce;
}
You’ve gone to a different page
Goalscompleted
0
- Enclose the code example on lines 24–27 in the
<pre>
tag. - Then enclose the text inside
<pre>
in<code>
.
Comments