Tell us what’s happening:
- Your link element should be within your head element
Hello, So I went through all of the steps to find a solution. I even tried to delete everything but the and the to just see the checkmark, but to no avail. I’m desperate, please help.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
</html lang="en">
<head>
<link rel="stylesheet" href="styles.css" />
<meta charset="UTF-8">
<title>Digital Business Card</title>
</head>
<body>
<main>
<div class="business-card">
<img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="Image of a flower">
<p class="full-name">Infinite Lim</p>
<p class="designation">Coding Professional / Genius Creative</p>
<p class="company">FreeCodeCamp</p>
<hr>
<p>FakeEmail@gmail.com</p>
<p>(999)-999-9999</p>
<a class="portfolio-link" href="https://www.freecodecamp.org/limish">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://x.com/home">Twitter</a> -
<a href="https://www.linkedin.com/">LinkedIn</a> -
<a href="https://github.com/">GitHub</a>
</div>
</div>
</main>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
p {
margin: 5px;
}
a {
text-decoration: none;
}
.business-card {
width: 300px;
background-color: rgb(225, 183, 183);
padding: 20px;
margin-top: 100px;
margin-right: auto;
margin-left: auto;
text-align: center;
font-size: 16px;
border: none;
border-radius: 20px;
}
.profile-image {
max-width: 100%;
border: none;
border-radius: 20px;
}
hr {
border: rosybrown solid;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0
Challenge Information:
Design a Business Card - Design a Business Card