Tell us what’s happening:
Hola! Tengo un problema con mi CCS, me da un error en el test nro. : 13. Your .read-more element should have a hover effect.
No entiendo cual es el error en mi codigo o que estoy omitiendo, por favor que alguien me indique el error.
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="An image of a laptop">
<div class="post-content">
<h2 class="post-title">Learn to code 2025</h2>
<p class="post-excerpt">Nowadays is important to understand and develop our own web page.</p>
<a class="read-more" type="button">Read More</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
.blog-post-card{
background-color: white;
text-align: center;
border-radius: 30px;
width: 500px;
font-family: Arial, sans-serif;
margin: 20px;
}
.post-img{
border-bottom: 3px solid blue;
background-size: cover;
width: 100%;
border-radius: 20px;
}
.post-content{
background-color: #86d9fd;
padding: 10px;
text-align: center;
margin: 20px;
border-radius: 20px;
}
.post-title, .post-excerpt {
color: aliceblue;
margin: 1px;
}
a.read-more {
text-decoration: none;
color: black;
background-color: white;
margin: 10px;
border-radius: 15px;
padding: 5px;
display: inline-block;
}
a.read-more:hover {
background-color: red;
color: yellow;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card