Tell us what’s happening:
why is the read more hover element not going through?
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="styles.css">
</head>
<body>
<div class="blog-post-card">
<img class="post-img" src="https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg" alt="a laptop">
<div class="post-content">
<h2 class="post-title">learn about web development</h2>
<p class="post-excerpt">Stay ahead of the curve with the latest trends in web development</p>
<a class="read-more">Read More</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
/* file.style.css */
.blog-post-card{background-color: white;
border: 2px solid black;
border-radius: 10px;
width: 20px;
text-align: center;}
.post-img{width:100%;
border-bottom: 5px solid black;}
.post-content{padding: 20px;}
.post-title{color: purple;
margin: 10px;}
.post-excerpt{color: violet;
margin: 5px;}
.read-more{display: inline-block;
background-color: lightblue;
padding: 20px;
color: yellowgreen;
border-radius: 5px;
text-decoration: none;
margin: 10px;}
.read-more:hover:{background-color: blue;
color: brown;}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card