Design a Business Card - Design a Business Card

Tell us what’s happening:

  1. After the phone number p element, there should be an a element with the text Portfolio

i cant pass test because of this

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">
        <main>
            <img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="my profile image">
            <p class="full-name">Your Name</p>
            <p class="designation">Software Developer</p>
            <p class="company">@freeCodeCamp</p>
            <hr>
            <p><a href="mailto:your-email@example.com">Email: your-email@example.com</a></p>
<p><a href="tel:1234567890">Phone: (123) 456-7890</a></p>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">Portfolio</a>

           <hr>
           
            <div class="social-media">
                <h2>Connect with me</h2>
                <p class="twitter"><a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">Twitter</a></p>
                <p class="LinkedIn"><a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">LinkedIn</a></p>
                <p class="GitHub"><a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">GitHub</a></p>
            </div>
        </main>
    </div>
</body>
</html>

/* file: styles.css */
body {
  background-color: rosybrown;
  font-family: Arial, sans-serif;
}

h1, h2, p {
  text-align: center;
}

p {
  margin-top: 5px;
  margin-bottom: 5px;
}

.business-card {
  width: 300px;
  background-color: lightblue;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  padding: 20px;
  text-align: center;
  font-size: 16px;
}

.profile-image {
  max-width: 100%;
}

.social-media p {
  display: inline-block;
}

.twitter {
  text-align: center;
  width: 32.3%;
}
.LinkedIn {
  text-align: center;
  width: 32.3%;
}
.GitHub {
  text-align: center;
  width: 32.3%;
}

a {
  text-decoration: none;
}

hr {
    height: 2px;
  border-color: slategray;
  
   background-color: brown;
  border-width: 1px;;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0

Challenge Information:

Design a Business Card - Design a Business Card
https://www.freecodecamp.org/learn/full-stack-developer/lab-business-card/design-a-business-card

Hi @arsonic007

You were not asked to include a main element.

Happy coding

ok it worked but i want to know why main element affected it

The tests make certain checks, and extra elements can interfere with those checks.