Design a Blog Post Card - Design a Blog Post Card

Tell us what’s happening:

I could continue, but step 8 your .blog-post-card element should have a border -radius property with a value (should not be 0 or a negative value) doesn’t pass which makes the other not past. yes I didn’t finished the rest yet either.

edit: for better english

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="style.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="a picture of a laptop">
    <div class="post-content">
        <h2 class="post-title">sfdsf</h2>
    <p class="post-excerpt">blabalah</p>
    <a class="read-more" href="/">Read More</a></div>
    </div>
</body>
</html>
/* file: styles.css */
body {background: gray;}

.blog-post-card {
border: 2px solid;
border-radius: 20%;
background-color: white;
width: 50%;
text-align: center;
margin: auto;}

.post-content {text-align: center;
padding: 20px;}

.post-img {margin-top: 15px;
margin-bottom: 10px;
width: auto;
boder-bottom: 2px solid;}

.post-title {color: black;}

.read-more {color: blue;
background-color: lightgreen;}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0

Challenge Information:

Design a Blog Post Card - Design a Blog Post Card

Please check your CSS link.

oh forgot the s at styles, right?

I have another question, but I don’t how to send back the updated code.

I’m stuck at step 21. your .post img element should fill the card’s width.

<!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="a picture of a laptop">
    <div class="post-content">
        <h2 class="post-title">sfdsf</h2>
    <p class="post-excerpt">blabalah</p>
    <a class="read-more" href="/">Read More</a></div>
    </div>
</body>
</html>
body {background: sandybrown;}

.blog-post-card {
border: 2px solid;
border-radius: 20%;
background-color: white;
width: 50%;
text-align: center;
margin: auto;}

.post-content {text-align: center;
padding: 20px;}

.post-img {margin-top: 15px;
margin-bottom: 10px;
width: auto;
border-bottom: 2px solid;}

.post-title {color: black;}

.read-more {color: blue;
background-color: lightgreen;
display: inline-block;
margin: 10px;
padding: 10px;
border: 3px dashed;
border-radius: 20px;}

.read-more:hover {background-color: black;}

.post-title {margin`: auto;
margin-botton: auto;
color: green;}

.post-excerpt {margin: auto;
margin-botton: auto;
color: green;}

solved the last part myself.