Tell us what’s happening:
Please help I am at a loss. I am stuck on step 30. “After the phone number p element, there should be an a element with the text Portfolio” I don’t see where I went wrong.
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://americancareercollege.edu/pulse_images/lg/pulse_35_Medical-Coding.jpg" alt="image-of-coding"/>
<p class="full-name">Patrick Sutton</p>
<p class="designation">Developer</p>
<p class="company">@oldtechnewtricks</p>
<hr>
<p class="email">oldtechnewtricks@gmail.com</p>
<p class="phone-number">888*888*8888</p>
<a href="https://www.freecodecamp.org/learn/full-stack-developer/lab-business-card/design-a-business-card">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://www.freecodecamp.org/learn/full-stack-developer/lab-business-card/design-a-business-card">Twitter</a>
<a href="https://www.freecodecamp.org/learn/full-stack-developer/lab-business-card/design-a-business-card">LinkedIn</a>
<a href="https://www.freecodecamp.org/learn/full-stack-developer/lab-business-card/design-a-business-card">GitHub</a>
</div>
</main>
</div>
</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;
background-color: #fcf3cf;
padding: 20px;
margin-top: 100px;
text-align: center;
font-size: 16px;
margin-left: auto;
margin-right: auto;
border: ridge, black;
}
.profile-image {
height: 200px;
max-width: 100%;
border: double;
}
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