Hello! I’d like some feedback on the task for the CSS First Steps (Challenge: Styling a biography page - Learn web development | MDN)
HTML code:
Formatting a biography<h1>Jane Doe</h1>
<div class="job-title">Web Developer</div>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
<p>A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
</p>
<h2>Contact information</h2>
<ul>
<li>Email:
<a href="mailto:jane@example.com">jane@example.com</a>
</li>
<li>Web:
<a href="http://example.com">http://example.com</a>
</li>
<li>Tel: 123 45678</li>
</ul>
CSS code:
body {
background-color: #fff;
color: #333;
font-family: Arial, Helvetica, sans-serif;
padding: 1em;
margin: 0;
}
h1 {
color: hotpink;
font-size: 2em;
font-family: Georgia, 'Times New Roman', Times, serif;
border-bottom: 10px dotted purple;
}
h2 {
font-size: 1.5em;
font-style: italic;
}
.job-title {
color: #999999;
font-weight: bold;
}
ul {
background-color: #eeeeee;
border: 5px solid purple;
padding: 25px;
}
a:link,
a:visited {
color: #fb6542;
}
a:hover {
color: green;
text-decoration: none;
}
The result:
Thank you in advance!