Tell us what’s happening:
I’m stuck here. Please help me deal with it.
32. After the second hr element, there should be a div element with a class attribute with a value of social-media
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 ="profile-image"></img>
<p class="full-name">Janny Nguyen</p>
<p class="designation">Operator</p>
<p class="company">Pega</p>
<hr>
<p class="email">Janny_nguyen@pegatron.corp.com</p>
<p class="phone">0996766554</p>
<a href="#">Portfolio</a>
<hr>
</div>
<div class="social-media">
<h2>Connect with me</h2>
<a href="https://www.freecodecamp.org/learn">Twitter</a>
<a href="https://www.freecodecamp.org/learn">LinkedIn</a>
<a href="https://www.freecodecamp.org/learn">GitHub</a>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: rosybrown;
font-family: Arial,sans-serif;
padding: 20px;
}
p {
margin-top:5px;
margin-bottom:5px;
}
.business-card{
background-color:white;
width :300px;
padding: 20px;
margin-top:100px;
text-align: center;
font-size:16px;
margin-left:auto;
margin-right:auto;
}
.profile-image{
max-width:100%;
}
a {
text-decoration: none;
}
h2 {
font-family: sans-serif;
font-size: 20px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Challenge Information:
Design a Business Card - Design a Business Card