Design a Blog Post Card - Design a Blog Post Card

Tell us what’s happening:

I’m already done with this excercise, every step is complete but still fails to pass step 21. Which says “your .post-img element should have a border-bottom value”. Can you please tell me what’s missing?

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 rel="stylesheet" href="styles.css">
    <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="Guy using a laptop"> 
      <div class="post-content">
          <h2 class="post-title">Modern Human Mental Conditions</h2>
          <p class="post-excerpt"> There are several mental conditions that had developed and had been evolving in the past 20 years. All of this conditions are grouped as Modern Human Mental Conditions or MHMC</p>
          <a class="read-more">Read More</a>  
</body>
</html>
/* file: styles.css */
.blog-post-card {
  background-color: white;
    border: 2px solid black;
  border-radius: 10px;
  width: 20px;
  text-align: center; 
}
.post-img {
  width: 100%;
  border-bottom: 5px;
}
.post-content {
  padding: 20px;
}
.post-title {
  color:indigo;
  margin: 10px;
}
.post-excerpt {
  color: yellowgreen;
  margin: 5px;
}
  .read-more {
    display: inline-block;
    padding: 20px;
    background-color: #007bff;
    color: forestgreen;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
  }

  .read-more:hover {
    background-color: #0056b3;
  }

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

Design a Blog Post Card - Design a Blog Post Card

Hello, your styles isn’t linked correctly.

you may want to review what other values you need to give for a complete border

That is so true, I changed it but didnt solve the step I’m struggling with, wonder why it didnt affected the other steps by testing my code.

You’re right, I missed those, thanks man you really helped me on this one