Tell us what’s happening:
I cannot continue and I can only surmise due to system thinking I’m cheating. Can you lift the flag so I can complete my assignment.
I copy and pasted code from CodePen. It started rejecting my code after that. Can you check the backend to confirm?
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog Post Card</title>
</head>
<body>
<div class="blog-post-card">
<img class="post-img" src="https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg" alt="a laptop with a website open and hands on keyboard" />
<div class="post-content">
<h2 class="post-title">Learn Web Development in 2024</h2>
<p class="post-excerpt">Stay ahead of the curve with the latest trends in web development. Discover what's new and exciting in 2024</p>
<a class="read-more">Read More</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
}
.blog-post-card {
background-color: #fff;
border-radius: 15px;
width: 350px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.post-img {
width: 100%;
border-bottom: 5px solid #333;
}
.post-content {
padding: 20px;
}
.post-title {
color: #333;
}
.post-excerpt {
color: #555;
}
.read-more {
display: inline-block;
margin-top: 10px;
padding: 10px 15px;
background-color: #555;
color: #fff;
text-decoration: none;
border-radius: 5px;
}
.read-more:hover {
opacity: 0.7;
cursor: pointer;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 Edg/145.0.0.0
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card