Tell us what’s happening:
The read-more element (test 14) isn’t going through can someone help me?
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 src="https://cdn.freecodecamp.org/curriculum/labs/cover-photo.jpg" alt="a laptop on a table" class="post-img">
<div class="post-content">
<h2 class="post-title">Web Design</h2>
<p class="post-excerpt">This short course is quite useful if you want to venture into a journey of creativity and open-mindedness.</p>
<a class="read-more">Read More</a>
</div>
</div>
</body>
</html>
/* file: styles.css */
body {
background-color: lightgreen;
}
.blog-post-card {
background-color: white;
border-radius: 10px;
width: 400px;
text-align: center;
}
.post-img {
width: 100%;
border-bottom: 10px dashed black;
}
.post-content {
padding: 15px;
}
.post-title {
color: red;
margin: 10px;
}
.post-excerpt {
color: blue;
margin: 10px;
}
.read-more {
display: inline-block;
color: indigo;
background-color: grey;
margin: 40px;
padding: 10px;
text-decoration: none;
border-radius: 10px;
}
.read-more:hover{
color: red;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Challenge Information:
Design a Blog Post Card - Design a Blog Post Card