Tell us what’s happening:
the css property is not working . i am trying it from tomorrow haven’t find out why is that …please help
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 rel="stylesheet" href="style.css">
</head>
<body>
<div class="blog-post-card">
<img class="post-img" src="https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg" alt="freecodecamp image">
<div class="post-content">
<h2 class="post-title">This is the title of blog post</h2>
<p class="post-excerpt">This is the text to summarize blog post</p>
<a class="read-more" href="https://readmore.com">Read More</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
.blog-post-card {
border-radius: 10px;
background-color: #ffffff;
width: 300px;
text-align: center;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card