Design a Blog Post Card - Design a Blog Post Card

Tell us what’s happening:

i want to rip my hair out why is css so hard and html can someone tell me what to do
im about to quit this carrer

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="image">
        <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 class="read-more">Read More</a>
        </div>
    <div>   
</body>
</html>
/* file: styles.css */
body {
  background-color: #f0f0f0;

}

.blog-post-card {
  background-color: white;
  border-radius: 15px;
  width: 350px;
  text-align: center;
}

.post-img {
  width: 100%;
  border-bottom: 5px solid #333;
}

.post-content {
  padding: 20px;
}

.post-content, .post-excerpt {
  color: #667;
  margin: 10px 0;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;

}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.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

Welcome to the forum @mobleymuhammad,

Did you overlook this note?

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

Happy coding