Tell us what’s happening:
my step 13 is working but the code is not approving it
.read-more:hover{
color: red;
}
not sure why its not working
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="photo of screen">
<div class="post-content">
<h2 class="post-title">Kylie jenner</h2>
<p class="post-excerpt">Kosom kylie jenner </p>
<a class="read-more" href="">Read More</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
.blog-post-card{
background-color: white;
border-radius: 15px;
width: 400px;
text-align: center;
}
.post-img{
width: 400px;
border-bottom: red solid 5px;
}
.post-content{
padding: 10px 15px;
}
.read-more{
margin: 2px;
display: inline-block;
border-radius: 10px;
padding: 10px 0px;
background-color: blue;
}
.post-title, .post-excerpt{
margin: 5px;
color: magenta;
}
.read-more:hover{
color: darkblue;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card