In this blog post, we’ll build a modern, professional education landing page using HTML, CSS, and JavaScript.
The goal is to create a real-world responsive website with features like a sticky navbar, dark/light mode, mobile menu, hero section, stats, feature cards, and a clean footer.
This project is perfect for beginners and frontend developers who want to improve their UI skills and understand how modern websites are structured.
Project Overview
We are building a fictional education platform called SkillUp, focused on clean UI, accessibility, and responsiveness.
Key Highlights:
-
Responsive navigation bar
-
Mobile hamburger menu
-
Dark & light theme toggle
-
Modern hero section layout
-
Stats section for credibility
-
Feature cards using Flexbox
-
Professional footer with newsletter form
Technologies Used
-
HTML5 – Semantic structure
-
CSS3 – Flexbox, variables, responsiveness
-
JavaScript – DOM manipulation & interactivity
-
Font Awesome – Icons
-
Google Fonts (Outfit) – Typography
Navbar
The navbar contains:
-
Logo
-
Navigation links
-
Dark mode toggle
-
Mobile menu icon
Hero Section
This is the first thing users see.
It includes:
-
A badge for new courses
-
Main heading
-
Short description
-
Call-to-action buttons
-
Image section
Stats Section
Stats help build trust and credibility.
The section uses a dark background to visually separate it from the rest of the page.
Features / Courses Section
This section explains why users should choose SkillUp.
Each card includes:
-
Icon
-
Title
-
Short description
Footer
The footer contains:
-
Brand info
-
Quick links
-
Newsletter subscription form
Image & Asset Credits
All images used in this project from:
Icons provided by Font Awesome.
Entire Code:
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SkillUp | Professional Education</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap" rel="stylesheet">
</head>
<body>
<nav class="navbar">
<div class="logo">
Skill
<span>Up.</span>
</div>
<div class="nav-right">
<ul class="nav-links" id="nav-links">
<li><a href="#home">Home</a></li>
<li><a href="#courses">Courses</a></li>
<li><a href="#stats">Impact</a></li>
<li><a href="#" class="btn-nav">Join Now</a></li>
</ul>
<div class="nav-controls">
<div class="control-icon" id="theme-toggle">
<i class="fas fa-moon"></i>
</div>
<div class="menu-toggle" id="mobile-menu">
<i class="fas fa-bars"></i>
</div>
</div>
</div>
</nav>
<!-- hero section -->
<section class="hero" id="hero">
<div class="hero-container">
<div class="hero-text">
<span class="badge">New: AI Design Course</span>
<h1>
Upgrade Your Skills with <span>Future-Ready</span>
Education
</h1>
<p>
Don't just learn, evolve. Join 50k+ students mastering high demand skills from the comfort of their homes.
</p>
<div class="hero-actions">
<button class="btn-main">
Browse Library
</button>
<button class="btn-ghost">
<i class="fas fa-play"></i> Watch Demo
</button>
</div>
</div>
<div class="hero-image">
<img src="./education.jpg" alt="Students Learning">
</div>
</div>
</section>
<!-- stat section -->
<section class="stats" id="stats">
<div class="stat-item">
<h2>15K+</h2>
<p>Active Courses</p>
</div>
<div class="stat-item">
<h2>85K+</h2>
<p>Graduates</p>
</div>
<div class="stat-item">
<h2>4.9/5</h2>
<p>User Rating</p>
</div>
</section>
<!-- courses section -->
<section class="offerings" id="courses">
<div class="section-title">
<h2>Why Choose SkillUp?</h2>
<div class="underline"></div>
</div>
<div class="cards-container">
<div class="card">
<div class="card-icon">
<i class="fas fa-bolt"></i>
</div>
<h3>Accelerated Learning</h3>
<p>Carriculums designed to get you job-ready in weeks, not years.</p>
</div>
<div class="card">
<div class="card-icon">
<i class="fas fa-users"></i>
</div>
<h3>Community Support</h3>
<p>Access private Discord channels and peer review groups.</p>
</div>
<div class="card">
<div class="card-icon">
<i class="fas fa-globe"></i>
</div>
<h3>Global Access</h3>
<p>Download lessons and learn offline anywhere in the world.</p>
</div>
</div>
</section>
<!-- footer section -->
<footer class="footer">
<div class="footer-container">
<div class="footer-col">
<div class="logo">
Skill
<span>Up.</span>
</div>
<p>Empowering learners worldwide with affordable, high quality education.</p>
</div>
<div class="footer-col">
<h4>Quick Links</h4>
<ul>
<li><a href="#">Our Courses</a></li>
<li><a href="#">Privacy Policy</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Newsletter</h4>
<form class="footer-form">
<input type="email" placeholder="Your Email" required>
<button type="submit">
<i class="fas fa-paper-plane"></i>
</button>
</form>
</div>
</div>
<div class="footer-bottom">
<p>
© 2026 SkillUp Education. All rights reserved.
</p>
</div>
</footer>
</body>
<script>
const menuBtn = document.getElementById('mobile-menu');
const navLinks = document.getElementById('nav-links');
menuBtn.onclick = () => {
navLinks.classList.toggle('active');
menuBtn.querySelector('i').classList.toggle('fa-bars');
menuBtn.querySelector('i').classList.toggle('fa-times');
}
// dark light mode
const themeBtn = document.getElementById('theme-toggle');
themeBtn.onclick = () => {
document.body.classList.toggle('dark-theme');
const icon = themeBtn.querySelector('i');
icon.classList.toggle('fa-moon');
icon.classList.toggle('fa-sun');
}
</script>
</html>
Comments
Post a Comment