Tell us what’s happening:
GitHub a element error don’t know whats being wrong
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" alt="pink flower" class="profile-image">
<p class="full-name">Max Well</p>
<p class="designation">Chief of Company</p>
<p class="company">Infosys</p>
<hr>
<P class="company">max123@gmail.com</p>
<p class="company">9989989980</p>
<a href="https://www.instagram.com/">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">Twitter</a>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">LinkedIn</a>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">Twitter</a>
<a href="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg">GitHub</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline
}
.business-card {
width: 300px;
background-color: purple;
padding: 20px;
margin-top: 100px;
font-size: 16px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.profile-image {
width: 200px;
height: 200px;
padding: 40px 50px 40px;
}
.social-media {
background-color: purple;
width: 340px;
height: 50px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
margin-bottom: 30px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0
Challenge Information:
Design a Business Card - Design a Business Card