Tell us what’s happening:
Despite completing all the user stories for the business card project, the test just won’t pass. I have tried changing the href of the portfolio anchor, refreshing a browser (Firefox Developer Edition) since i am using the latest google chrome browser version all to no avail. I saw a similar issue on forum by dreyes61 on March 16 and tried implementing the solutions but it didn’t work
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A Business Card</title>
</head>
<body>
<main>
<div class="business-card">
<section>
<img src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" class="profile-image" alt="a business card profile-image">
<p class="full-name">Ekomjah Denis</p>
<p class="designation">Software Developer</p>
<p class="company">@apple</p>
<hr>
<p>Email: ekomjahedet@gmail.com</p>
<p>Phone: (123) 456-7890</p>
<a href="https://www.w3schools.com">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<div class="links">
<a href="https://x.com/ekomjahedet">Twitter</a>
<a href="https://www.linkedin.com/in/denis-edet-21058aa5/">LinkedIn</a>
<a href="https://github.com/ekomjah">GitHub</a>
</div>
</div>
</section>
</div>
</main>
</body>
</html>
/* file: styles.css */
body{
background-color: rosybrown;
font-family: Arial, sans-serif;
}
.business-card{
width: 300px;
border: 3px solid gray;
background-color: antiquewhite;
padding: 20px ;
text-align: center;
font-size: 16px;
margin: 100px auto 0;
}
section > *{
text-align: center;
}
.profile-image{
max-width: 100%;
display:block;
border: 2px solid grey;
}
a{
text-decoration: none;
}
p{
margin: 5px 0;
text-align: center;
}
.profile-name{
/* font-size: 20px; */
color: red;
}
.designation{
/* font-size: 16px; */
color: rgb(190, 50, 50);
}
.company{
/* font-size: 14px; */
color: rgb(202, 143, 143);
}
.portfolio{
display: block;
text-align: center;
}
h2{
text-align: center;
}
.links a{
padding: 0 17px;
color:red;
}
.links{
margin: 0 10px;
}
hr{
margin: 20px 0;
color:burlywood;
/* height: 5px; */
}
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