Tell us what’s happening:
I’ve been trying to fix it, but it keeps telling me step 7 is wrong… And now that I’ve being trying to adjust things, it says my profile max-width is wrong, too, but I swear it wasn’t before
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 src="https://cdn.freecodecamp.org/curriculum/labs/flower.jpg" alt="pink flower" class="profile-image">
<p class="full-name"> Aster Greenberg </p>
<p class="designation">Welcome Desk</p>
<p class="company">Coder</p>
<hr>
<p>
codecamp@gmail.com </p>
<p>203-221-223
</p>
<a href="https://www.neopets.com/">Portfolio</a>
<hr>
<div class="social-media">
<h2>Connect with me</h2>
<p>
<a href="https://www.freecodecamp.org/learn">Twitter</a>
</p>
<p>
<a href="https://www.freecodecamp.org/learn">LinkedIn</a>
</p>
<p>
<a href="https://www.freecodecamp.org/learn">GitHub</a>
</p>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
p {
margin-bottom:5px;
margin-top: 5px;
}
.business-card {
width: 300px;
padding: 20px;
margin-top: 100px;
text-align: center;
font-size: 16px;
margin-right: auto;
margin-left: auto;
background-color: rosybrown;
a {
text-decoration: none;
}
.profile-image {
max-width:100%;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card