Tell us what’s happening:
- After the phone number p element, there should be an a element with the text Portfolio
I have checked for errors tried different browsers and refreshed but nothing works.
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>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="business-card">
<main>
<img class="profile-image" src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="flower">
<p class="full-name">Your Name</p>
<p class="designation">Software Developer</p>
<p class="company">@FreeCodeCamp</p>
<hr>
<p>Email: hhhhhh123@gmail.com</p>
<p>Phone Number: (123) 456-7890</p>
<a href="https://chatgpt.com/c/6880ee8c-f640-8006-940e-bbed993d41ba">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://shadeshiftglasses.myshopify.com/">Twitter</a>
<a href="https://shadeshiftglasses.myshopify.com/">LinkedIn</a>
<a href="https://shadeshiftglasses.myshopify.com/">GitHub</a>
</div class="social-media">
</main>
</div class="business-card">
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
.business-card {
background-color: white;
width: 300px;
padding: 20px;
margin-top: 100px;
font-size: 16px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.profile-image {
max-width: 100%;
}
a {
text-decoration: none;
}
.social-media a {
margin: 10px;
}
.full-name {
font-size: 25px;
color: grey;
}
.designation, .company {
font-size: 18px;
color: pink;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Challenge Information:
Design a Business Card - Design a Business Card