Design a Business Card - Design a Business Card

Tell us what’s happening:

Number 29 ( After the phone number p element, there should be an a element with the text `Portfolio’) will not check no matter what I do…

Your code so far

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

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

<body>
  <div class="business-card">
  <img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="A pink lily flower">
    <main>
      <p class="full-name">Christian Kai</p>
      <p class="designation">Junior Software Engineer</p>
      <p class="company">Marriott</p>
      <hr>
      <p>Christiankai@email.com</p>
      <p>(555)555-5555</p>
      <a href="https://www.youtube.com/watch?v=Ezgt3aphxho">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/">GitHub</a>
    </div>
  </div>
    </main> 
</body>

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

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

}

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

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

h2 {
  text-align: center;
}

a {
  text-decoration: none;

}
 
a:hover{
  text-decoration: underline
}

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

Did the instructions say where to put a main element?

I don’t think they mean to LITERALLY put the anchor after the paragraph element. Have you tried nesting it?

it actually wants it immediately after, not nested. The issue is the one pointed out by Jeremy

I don’t understand what you are saying there, if you need help solving this yourself, please create your own topic for that