Tell us what’s happening:
number 29 is wrong no matter what i do. "after the phone number “p” element there should be an “a” element with the text “Portfolio”
I’m starting to think its my browser. please help.
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 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="profile-image"/>
<p class="full-name">Garrison Duckworth</p>
<p class="designation">Game developer</p>
<p class="company">Games Unlimited</p>
<hr>
<p class="email">GamesUnlimited@gmail.com</p>
<p class="phone-number">Phone: (456) 789-3234</p> <a href="https://www.bizjournals.com/news/technology/startups">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">Twitter</a>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">LinkedIn</a>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">GitHub</a>
</div>
</div>
</main>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.business-card {
width: 300px;
padding: 20px;
margin-top: 100px;
font-size: 16px;
text-align: center;
margin-left: auto;
margin-right: auto;
background-color: teal;
}
hr {
height: 2px;
border-color: slategray;
border-style: dashed;
border-width: 1px;
}
.profile-image {
max-width: 100%;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card