Design a Blog Post Card - Design a Blog Post Card

Tell us what’s happening:

The code checker doesnt want to accept my border-bottom value of 5px in my CSS?

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>
     <link href="styles.css" rel="stylesheet">
</head>
<body>
    <div class="blog-post-card">
    <img class="post-img"src="https://i.pcmag.com/imagery/articles/008KhccHH5WdgO1XFqJF957-5.fit_lim.v1717795845.png" alt="close up shot of a laptop from the left side with someone typing on it">
    <div class="post-content">
    <h2 class="post-title">New Windows 11 Laptops at Best Buy</h2>
    <p class="post-excerpt">New chips and an ambitious operating system update can transform the way you work. Here are three new PCs to get you started in the ways of Windows 11.</p>
    <a class="read-more">Read More<a/>

    </div>    
    </div>


</body>
</html>
/* file: styles.css */
body {
  background-color:#36454F ;margin: 5px;
  background-color: ;
}
.blog-post-card{
  background-color: white;
  border-radius: 10px;
  width: 500px;
  text-align: center;
}

.post-img{
  border-bottom: 5px;
  width: 500px;
  border-radius: 10px 10px 0px 0px;
  
}
.post-content{
  padding: 10px
}
.post-title, .post-excerpt{
color: purple;
margin: 20px
}

.read-more{
  color: white;
  background-color:#36454F ;margin: 5px;
  padding: 5px;
  border-radius: 2px;
  display: inline-block;

}
.read-more:hover{
   background-color: blue
}

Your browser information:

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

Challenge Information:

Design a Blog Post Card - Design a Blog Post Card

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-blog-post-card/66eaddd04a9e533fba689001.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @FoxBat96,

Please take a look at this reference for information about how to use border-bottom:

CSS border-bottom property

Happy coding