Tell us what’s happening:
I have been stuck on this issue 29. After the phone number p element, there should be an a element with the text Portfolio
I have done it, what seems to be the problem? Everything checks out, except issue 29
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<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>
<div class="business-card">
<main>
<img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="profile pic" />
<p class="full-name">Your Name</p>
<p class="designation">Full-Stack</p>
<p class="company">Studied from @freecodecamp</p>
<hr>
<p>Email<a href="mailto:example@gmail.com">example@gmail.com</a></p>
<p>Phone Number <a href="tel:+12345">+12345</a></p>
<a href="https://www.google.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;
text-align: center;
}
.profile-image {
display: inline-block;
max-width: 100%;
height: auto;
width: 150px;
}
p {
margin-bottom: 5px;
margin-top: 5px;
}
a {
text-decoration: none;
}
.business-card {
width: 300px;
background-color: white;
border-width: 5px;
border-style: solid;
border-radius: 50px;
padding: 20px;
margin-top: 100px;
text-align: center;
font-size: 16px;
margin-left: auto;
margin-right: auto;
}
.social-media {
margin-top: 0px;
margin-bottom: 0px;
text-align: center;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card