rmcg.dev/projects/FrontendMentor/newbie/blog-preview-card/index.html

57 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="stylesheet" href="assets/css/index.css">
<title>Frontend Mentor | Blog preview card</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<!-- <style>
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
</style> -->
</head>
<body>
<header>
<h1 class="visually-hidden">Blog Preview Card Frontend Mentor Challenge Solution</h1>
</header>
<main>
<article>
<figure><img src="assets/images/illustration-article.svg" alt="Image of something"></figure>
<div class="category">Learning</div>
<p class="date">Published 21 Dec 2023</p>
<a href="#">
<h2>HTML &amp; CSS foundations</h2>
</a>
<p class="excerpt">These languages are the backbone of every website, defining structure, content, and
presentation.</p>
<div class="author-section">
<img src="assets/images/image-avatar.webp" alt="Professional looking picture of Greg Hooper">
<p class="author-name">Greg Hooper</p>
</div>
</article>
</main>
<footer>
<!-- <div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://tarasis.net">Robert McGovern</a>.
</div> -->
</footer>
</body>
</html>