Tell us what’s happening:
The run test is not passing me
- After the phone number p element, there should be an a element with the text Portfolio
I will attach my code below
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">
<link rel="stylesheet" href="styles.css">
<title>Digital Business Card</title>
</head>
<body>
<div class="business-card">
<img src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="A picture of a flower"
class="profile-image">
<p class="full-name">Nkosi_M</p>
<div class="card-header">
<p class="designation">Web Developer</p>
<p class="company">@freeCodeCamp</p>
<hr>
<p>Email: masangonim@gmail.com</p>
<p>Phone: 031 456-7890</p>
<a href="">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="http://twitter.com/">Twitter</a>
<a href="http://linkedin.com/">LinkedIn</a>
<a href="http://github.com/">GitHub</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: "Arial", sans-serif;
}
.business-card {
background-color: lavenderblush;
border: 3px solid darkslategray;
padding: 20px;
text-align: center;
font-size: 16px;
width: 300px;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
}
.profile-image {
max-width: 100%;
width: 150px;
height: 150px;
margin-bottom: 10px;
border: 2px solid lightgray;
}
img {
overflow-clip-margin: content-box;
overflow: clip;
}
a {
text-decoration: none;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card