Design a Business Card - Design a Business Card

Tell us what’s happening:

the step of the element after the

element containing the phone number, seems to not be validated after getting it all right code wis… pls what am i missing

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Business Card</title>
    <link rel="stylesheet" href="styles.css" />
</head>

<body>
    <div class="business-card">
        <img  src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" class="profile-image" alt="flower" />
    <p class="full-name">OYEDELE PETER</p>
    <p class="designation">Software Developer Trainee</p>
    <p class="company"> @<a href="freecodecamp.org">freecodecamp</a></p>
    <hr />
    <p>rockyktech@gmail.com</p>
    <p>09041958778</p>
    <a href="https://www.yourportfolio.com">Portfolio</a>
    <hr />
<div class="social-media">
    <h2>Connect with me</h2>
<a href="https://twitter.com/">Twitter</a>
<a href="https://www.linkedin.com/">LinkedIn</a>
<a href="https://github.com/">GitHub</a>
</div>
</div>
</div>
</body>

</html>
/* file: styles.css */
body {
  background-color: rosybrown;
  font-family: Arial, sans-serif;
}
p {
  margin: 5px 0; 
}
a {
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
.business-card {
  width: 300px;
  background-color: white;
  padding: 20px;
  margin: 100px auto 0;
  text-align: center;
  font-size: 16px;
}
.profile-image {
  width: 300px;
}
hr {
  border-top: 1px dashed slategray
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Challenge Information:

Design a Business Card - Design a Business Card

Hi.

Welcome to the community. Look at the syntax for your 2 hr elements.

You weren’t asked to put an anchor element in the company name section - just put a company name inside the p element.

Look at your closing div tags at the end and the opening div tags - do they match?

If you makes these changes it should pass.

Thanks the issue was with the first anchor element used for the company name, it was validated immediately that was resolved…

1 Like