Tell us what’s happening:
Step 13 and 21 on this one. I feel like mine is typed in correctly. Am I wrong in thinking that?
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">
<link href="styles.css" rel="stylesheet" />
<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="computer-screen" text="post-img">
<div class="post-content">
<h2 class="post-title">Learning Coding</h2>
<p class="post-excerpt">Start learning to be a software engineer in 2025 by using FreeCodeCamp. Here you will learn multiple languages and the foundation for becoming a software engineer.</p>
<a class="read-more">Read More</a></div></div>
</body>
</html>
/* file: styles.css */
.blog-post-card {
border: black;
border-radius: 15px;
background-color: white;
width: 300px;
text-align: center;
}
.post-img {
width: 100%;
height: auto;
border-bottom: 10px;
}
.post-content {
padding: 16px;
}
.post-title {
color: green;
}
.post-excerpt {
color: blue;
}
.read-more {
display: inline-block;
padding: 10px 20px;
background-color: yellow;
color: black;
border-radius: 5px;
text-decoration: none;
font-size: 16px;
margin: 10px;
}
.read-more:hover {
color: green;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card
https://www.freecodecamp.org/learn/full-stack-developer/lab-blog-post-card/lab-blog-post-card