Tell us what’s happening:
Step 17: I have added a
element in what I assume is the correct position, but I still have the error.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Business Card</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="business-card">
<img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="a pretty flower">
<p class="full-name">Noah Grischkan</p>
<p class="designation">Gizbor</p>
<p class="company">BBYO</p>
<hr>
<p><a href="mailto:ngrischkan@gmail.com">ngrischkan@gmail.com</a></p>
<p><a href="tel:+16146390020">614-639-0020</a></p>
<p><a class="portfolio-link" href="https://wikipedia.com" target="_blank">Portfolio</a></p>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://x.com">Twitter</a>
<a href="https://linkedin.com">LinkedIn</a>
<a href="https://github.com">GitHub</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
.business-card {
width: 300px;
background-color: rosybrown;
padding: 20px;
margin-top: 100px;
margin-left: auto;
margin-right: auto;
text-align: center;
font-size: 16px;
}
.profile-image {
max-width: 100%;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
a {
text-decoration: none;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card