Design a Blog Post Card - Design a Blog Post Card

Tell us what’s happening:

I believe I have followed all instructions but my code isn’t passing tests from step 8-20? Could somebody tell me where it went wrong?

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="style.css" rel="stylesheet">
</head>
<body>
    <div class="blog-post-card">
        <img class="post-img" src="https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg" alt="background image of a hand typing on a key board">
        <div class="post-content">
            <h2 class="post-title">Learn Web Development in 2025</h2>
            <p class="post-excerpt">Stay ahead of the curve with the latest trends in web development.</p>
            <a class="read-more" target="_blank">Read More</a> 
        </div>
    </div>

</body>
</html>
/* file: styles.css */
body{
  font-family: Arial;
}

.blog-post-card{
  background-color: white;
  border-radius: 15px;
  width: 300px;
  text-align: center;
  max-width: 400px;
  margin: 150px;
}

.post-img{
  width: 100%;
  border-bottom: 20px solid black;
}

.post-content{
  padding: 20px;
  
}

.post-title{
  color: blue;
  margin: 20px;
}

.post-excerpt{
  color: blue;
  margin: 20px;
}
.read-more{
  border: 5px solid red;
  text-decoration: none;
  color: green;
  background-color: yellow;
  margin: 20px;
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
}
.read-more: hover{
  background-color: black;
  color: biege;
}

Your browser information:

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

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

Welcome to the forum @syimer12

Note: Be sure to link your stylesheet in your HTML and apply your CSS.

Tests from 8 onwards are for the CSS.
Check you are using the correct file name in the link element.

Happy coding

the stylesheet href value should be styles.css

Thanks a lot! My code passed now.