Design a Blog Post Card - Design a Blog Post Card

Tell us what’s happening:

aiutoo, perche dice che border radius deve avere un valore pari o maggiore a 0

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="immagine developer"/>
        <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 href="" class="read-more">Read More</a>
    </div>
</body>
</html>

/* file: styles.css */
body {
  background-color: gold;
}
.blog-post-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 350px;
    margin: 20px;
    text-align: center; 
    }
.post-img {
  border-bottom: 2px solid black;
  width: 100%;
}
.post-content{
  padding: 20px;
}
.post-title, .post-excerpt {
  color: brown;
  margin: 20px;
} 
.read-more {
  color: darkblue;
  background-color: lightblue;
  margin: 10px;
  padding: 10px;
  border-radius: 20%;
  display: inline-block;
}
a:hover {
  background-color: black;
}

Your browser information:

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

Challenge Information:

Design a Blog Post Card - Design a Blog Post Card

Hi @sasycurti ,

Did you overlook this?

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

Happy coding!