Tell us what’s happening:
So it says “After the phone number p element, there should be an a element with the text Portfolio” but ive already did that and it still checks out as an error.
Phone: 123 456 789
PortfolioIs it a bug?
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Business Card</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div class="business-card">
<main>
<img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="A pink flower in bloom">
<p class="full-name">Filip Stoimenov</p>
<p class="designation">Software Developer</p>
<p class="company">@freeCodeCamp</p>
<hr>
<p>Email: stoimenovf@gmail.com</p>
<p>Phone: 123 456 789</p>
<a href="https://example.com">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://twitter.com">Twitter</a>
<a href="https://linkedin.com">LinkedIn</a>
<a href="https://github.com">GitHub</a>
</div>
</main>
</div>
</body>
</html>
/* file: styles.css */
body{
background-color:rosybrown;
font-family:Arial,sans-serif;
}
p{
margin:5px;
}
a {
text-decoration: none;
}
.business-card{
background-color:white;
width:300px;
padding:20px;
margin-top:100px;
margin-right:auto;
margin-left:auto;
text-align:center;
font-size:16px;
}
.profile-image {
max-width: 100%;
}
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