Tell us what’s happening:
It keeps saying i need the link element in the head element but its in there.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<div class="business-card">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Business Card</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<img src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" class="profile-image" alt="a pretty flower">
<p class="full-name">B Dubs</p>
<p class="designation">HTML Text Editor</p>
<p class="company">Brit's Desktop</p>
<hr>
<p>example@gmail.com</p>
<p>724-555-3333</p>
<a href="https://portfolio.adobe.com/">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2><a href="https://x.com/">Twitter</a>
<a href="https://www.linkedin.com/">LinkedIn</a>
<a href="https://www.github.com">GitHub</a>
</div>
</body>
</div>
</html>
/* file: styles.css */
body { background-color:rosybrown;
font-family:Arial, sans-serif;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
.business-card {
width: 300px;
background-color:lightpink;
padding: 20px;
margin-top: 100px;
font-size: 16px;
text-align:center;
margin-right:auto;
margin-left:auto;
}
.profile-image {
max-width: 100%;
}
a{
text-decoration:none;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card