- index.html
- style.css
HTML
<!DOCTYPE html>
<html>
<head>
<title>Looking for errors in HTML</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Instructor Cupcake [v.2]</h1>
<!-- The first error is lost in this block -->
<div class="error1">
<p>
<em>In future courses, you'll often be assisted in learning the intricacies of HTML and CSS</p> by instructor Cupcake.</em>
</div>
<!-- There's a second mistake hidden here -->
<div class="error2">
<imgsrc="keks-macho.jpg" class="photocard">
</div>
<!-- And here's the third one -->
<div class="error3">
<blockquote clas="nice-cite">
<p>Hi, my name is Cupcake and I'm your future instructor. I'm a web developer.</p>
<p>See you in future courses!</p>
</blockquote>
</div>
</body>
</html>
CSS
body {
font-family: "Georgia", serif;
}
.photocard {
display: block;
width: 300px;
margin: 20px auto;
box-shadow: 5px 5px 0 #e7471e;
}
.nice-cite {
margin: 1.5em 0;
padding: 0.5em 25px;
line-height: 1.5;
background-color: #f5f5f5;
border-left: 5px solid #e7471e;
}
You have moved to another page
GoalsCompleted
0
Help Cupcake to fix the errors in the HTML code of his new resume:
- First mistake with an extra blank line,
- second error with a missing picture,
- a third error with a missing quote design.