Contact us
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HealthTip50Mentor</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<style>
/* ===== Reset & Fonts ===== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
body { background-color: #f9f9f9; color: #333; line-height: 1.6; }
/* ===== Header ===== */
header {
background: #27ae60;
color: #fff;
padding: 20px 0;
text-align: center;
}
header h1 { font-size: 2.5rem; margin-bottom: 10px; }
header p { font-size: 1.1rem; }
/* ===== Navbar ===== */
nav {
display: flex;
justify-content: center;
background: #2ecc71;
}
nav a {
color: #fff;
text-decoration: none;
padding: 15px 25px;
display: inline-block;
transition: 0.3s;
}
nav a:hover { background: #27ae60; }
/* ===== Main Content ===== */
.container {
max-width: 1200px;
margin: 30px auto;
padding: 0 20px;
}
.posts {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.post {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.post:hover { transform: translateY(-5px); }
.post h2 { margin-bottom: 10px; color: #27ae60; }
.post p { margin-bottom: 15px; }
.read-more {
text-decoration: none;
color: #fff;
background: #27ae60;
padding: 10px 15px;
border-radius: 5px;
transition: 0.3s;
}
.read-more:hover { background: #2ecc71; }
/* ===== About Section ===== */
.about {
background: #fff;
padding: 40px 20px;
margin: 40px 0;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.about h2 { text-align: center; color: #27ae60; margin-bottom: 20px; }
.about p { text-align: justify; }
/* ===== Footer ===== */
footer {
background: #27ae60;
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 30px;
}
/* ===== Buttons ===== */
button {
padding: 10px 20px;
background: #27ae60;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
button:hover { background: #2ecc71; }
/* ===== Responsive ===== */
@media(max-width: 768px) {
nav { flex-direction: column; }
}
</style>
</head>
<body>
<!-- Header -->
<header>
<h1>HealthTip50Mentor</h1>
<p>Your trusted source for health, fitness, and wellness tips</p>
</header>
<!-- Navbar -->
<nav>
<a href="#home">Home</a>
<a href="#posts">Blog</a>
<a href="#about">About Us</a>
<a href="#contact">Contact</a>
</nav>
<!-- Main Content -->
<div class="container">
<!-- Blog Posts -->
<section class="posts" id="posts">
<div class="post">
<h2>5 Easy Morning Habits for Better Health</h2>
<p>Start your day with these simple habits to boost energy, improve mood, and stay healthy.</p>
<a href="#" class="read-more">Read More</a>
</div>
<div class="post">
<h2>Top 10 Superfoods You Must Include</h2>
<p>Discover the best superfoods that improve immunity, digestion, and overall wellness.</p>
<a href="#" class="read-more">Read More</a>
</div>
<div class="post">
<h2>Effective Home Workouts for Busy People</h2>
<p>No time for the gym? These workouts are perfect to stay fit at home without equipment.</p>
<a href="#" class="read-more">Read More</a>
</div>
</section>
<!-- About Section -->
<section class="about" id="about">
<h2>About Us</h2>
<p>
Welcome to <strong>HealthTip50Mentor</strong>, your trusted guide for practical and easy-to-follow health tips.
Our goal is to provide reliable, evidence-based advice on fitness, nutrition, mental wellness, and healthy living.
We believe in simple steps that create lasting habits and help you achieve a healthier, happier lifestyle.
Whether you are just starting your wellness journey or looking to improve existing routines, we’re here to support and inspire you every step of the way.
</p>
</section>
</div>
<!-- Footer -->
<footer id="contact">
<p>© 2026 HealthTip50Mentor. All Rights Reserved.</p>
</footer>
<!-- JavaScript -->
<script>
// Smooth Scroll for Navbar
document.querySelectorAll('nav a').forEach(link => {
link.addEventListener('click', function(e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if(target){
window.scrollTo({
top: target.offsetTop - 60,
behavior: 'smooth'
});
}
});
});
</script>
</body>
</html>
Comments
Post a Comment