- 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 Four. How I almost got sick</h1>
<p>Today I found out that it can be dangerous to be a coder. When you are just starting out, you are still inexperienced and can easily get infected by some sort of disease. Here are just some of the dangers that may be lying in wait for you:</p>
<!-- Start the list of descriptions here -->
Divatosis
Acute fear of semantics
Tablephobia
Avoidance of tables
A desire to format tables using divs
Classitis
The tendency to assign classes to every tag
</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
- After the first paragraph add the description list
<dl>
to<article>
and enclose the entire unmarked up text in it. - Add the term
<dt>
with the textDivatosis
and its description<dd>
with the textAcute fear of semantics
to the list. - Then add the term with the text
Tablephobia
and its two descriptions with the textsAvoidance of tables
andA desire to format tables using divs
.
- You can use the tags
<dt>
and<dd>
to mark up the remaining term and description<dl>
.
Comments