Tell us what’s happening:
What’s wrong with my code below? I can’t get past the background colour step., Step 4.
Business Card body { background-color: rosybrown; font-family: Arial, sans-serif; }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">
<style>
body {
background-color: rosybrown;
font-family: Arial, sans-serif;
}
p {
margin-top: 5px;
margin-bottom: 5px;
}
a {
text-decoration: none;
}
.business-card {
width: 300px;
background-color: yellow;
padding: 20px;
margin-top: 100px;
text-align: center;
font-size: 16px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<div class="business-card">
<h1>Jane Doe</h1>
<p>Web Developer</p>
<p><a href="mailto:jane@example.com">jane@example.com</a></p>
</div>
</body>
</html>
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
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