Design a Business Card - Design a Business Card Step 29

Tell us what’s happening:

Stuck on step 29 “add an anchor element with ‘Portfolio’ as a text and a valid href link”
I’ve searched through the forums and for what I can see it should work, one post suggested switching browsers, but so far, edge, chrome, and firefox all give the same result.

Your code so far

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

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

<body>
  <div class="business-card">
    <main>
      <img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="a flower with pink petals"/>
      <p class="full-name">Jamie Jamieson</p> 
      <p class="designation">General Manager</p>
      <p class="company">Gaming Inc.</p>
      <hr>
      <p>my@gmail.com</p>
      <p>Phone:123456</p>
      <a href="https://github.com/">Portfolio</a>
      <hr>
      <div class="social-media">
        <h2>Connect with me</h2>
        <a href="https://x.com/">Twitter</a>
        <a href="https://www.linkedin.com">LinkedIn</a>
        <a href="https://github.com/KashTheBard">GitHub</a>
      </div>    
    </main>
  </div>  
  
</body>

</html>
/* file: styles.css */
body {
  background-color: rosybrown;
  font-family: Arial, sans-serif;
  
}
.business-card {
  background-color: purple;
  width: 300px;
  margin-top: 100px;
  padding: 20px;
  font-size: 16px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.profile-image {
  max-width: 100%;
}
p {
  margin-top: 5px;
  margin-bottom: 5px;
}
a {
  text-decoration: none;
}

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

the issue is that you added more elements than expected, and now the tests can’t find that element where they expect

Thanks for the answer! Basically the main element was what was messing everything around. Thank you so much!