<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TechReviewBD - Latest Gadget Reviews</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Header -->
<header>
<div class="container">
<h1>TechReviewBD</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="container">
<h2>Latest Tech Reviews & Guides</h2>
<p>Discover the best gadgets and tips for 2025!</p>
</div>
</section>
<!-- Popular Posts -->
<section class="popular-posts">
<div class="container">
<h3>Popular Posts</h3>
<div class="posts-grid">
<div class="post-card">
<img src="images/iphone15.jpg" alt="iPhone 15">
<h4><a href="post.html">iPhone 15 Review</a></h4>
</div>
<div class="post-card">
<img src="images/galaxy-s23.jpg" alt="Galaxy S23">
<h4><a href="post.html">Galaxy S23 vs iPhone 15</a></h4>
</div>
<div class="post-card">
<img src="images/xiaomi14.jpg" alt="Xiaomi 14 Pro">
<h4><a href="post.html">Xiaomi 14 Pro Review</a></h4>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<p>© 2025 TechReviewBD. All rights reserved.</p>
</div>
</footer>
</body>
</html>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background: #f9f9f9;
}
.container {
width: 90%;
max-width: 1200px;
margin: auto;
}
header {
background: #1a1a1a;
color: #fff;
padding: 15px 0;
}
header h1 {
display: inline-block;
margin: 0;
padding-left: 20px;
}
nav ul {
float: right;
list-style: none;
margin: 0;
padding-right: 20px;
}
nav ul li {
display: inline-block;
margin-left: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
.hero {
background: #007bff;
color: #fff;
text-align: center;
padding: 50px 0;
}
.popular-posts {
padding: 40px 0;
}
.posts-grid {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.post-card {
background: #fff;
padding: 10px;
border-radius: 8px;
flex: 1 1 calc(33% - 20px);
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.post-card img {
width: 100%;
border-radius: 8px;
}
.post-card h4 {
margin: 10px 0 0;
}
.post-card h4 a {
text-decoration: none;
color: #333;
}
footer {
background: #1a1a1a;
color: #fff;
text-align: center;
padding: 20px 0;
}
Comments
Post a Comment