tutor-coding / index.html
aops02's picture
Add 2 files
a7aa763 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeMaster | Learn to Code Online</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
}
.hero-gradient {
background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
}
.text-gradient {
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.learning-path:before {
content: '';
position: absolute;
left: 14px;
top: 0;
height: 100%;
width: 2px;
background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.code-editor {
background-color: #1e293b;
border-radius: 0.5rem;
overflow: hidden;
}
.editor-header {
background-color: #0f172a;
padding: 0.5rem 1rem;
display: flex;
align-items: center;
}
.editor-buttons {
display: flex;
margin-right: 1rem;
}
.editor-button {
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 0.5rem;
}
.editor-button-red {
background-color: #ef4444;
}
.editor-button-yellow {
background-color: #f59e0b;
}
.editor-button-green {
background-color: #10b981;
}
.editor-content {
padding: 1.5rem;
color: white;
font-family: 'Courier New', Courier, monospace;
line-height: 1.75;
}
</style>
</head>
<body class="bg-slate-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-code text-blue-600 text-2xl mr-2"></i>
<span class="text-xl font-bold text-gray-800">Code<span class="text-gradient">Master</span></span>
</div>
<div class="hidden md:block ml-10">
<div class="flex space-x-8">
<a href="#courses" class="text-gray-800 hover:text-blue-600 px-3 py-2 text-sm font-medium">Courses</a>
<a href="#features" class="text-gray-800 hover:text-blue-600 px-3 py-2 text-sm font-medium">Features</a>
<a href="#learning-path" class="text-gray-800 hover:text-blue-600 px-3 py-2 text-sm font-medium">Paths</a>
<a href="#practice" class="text-gray-800 hover:text-blue-600 px-3 py-2 text-sm font-medium">Practice</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<a href="#" class="text-gray-800 hover:text-blue-600 px-3 py-2 text-sm font-medium mr-4">Log in</a>
<button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-md text-sm font-medium transition duration-300">
Sign up free
</button>
</div>
</div>
<!-- Mobile menu button -->
<div class="md:hidden flex items-center">
<button type="button" class="text-gray-500 hover:text-gray-600 focus:outline-none" onclick="toggleMenu()">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div class="md:hidden hidden" id="mobile-menu">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
<a href="#courses" class="text-gray-800 hover:text-blue-600 block px-3 py-2 text-base font-medium">Courses</a>
<a href="#features" class="text-gray-800 hover:text-blue-600 block px-3 py-2 text-base font-medium">Features</a>
<a href="#learning-path" class="text-gray-800 hover:text-blue-600 block px-3 py-2 text-base font-medium">Paths</a>
<a href="#practice" class="text-gray-800 hover:text-blue-600 block px-3 py-2 text-base font-medium">Practice</a>
<a href="#" class="text-gray-800 hover:text-blue-600 block px-3 py-2 text-base font-medium">Log in</a>
<button class="bg-blue-600 hover:bg-blue-700 text-white w-full px-3 py-2 rounded-md text-base font-medium transition duration-300">
Sign up free
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24 md:py-32">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-16 md:mb-0">
<div class="bg-white/10 backdrop-blur-sm inline-block px-4 py-1 rounded-full mb-6">
<span class="text-sm font-medium">Join 50,000+ learners today</span>
</div>
<h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">Learn Coding the Right Way with <span class="text-blue-300">Interactive Courses</span></h1>
<p class="text-lg md:text-xl mb-8 opacity-90 max-w-2xl">Master in-demand programming skills with hands-on lessons, real-world projects, and our built-in coding environment.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-white text-blue-600 hover:bg-gray-100 px-6 py-3 rounded-md font-semibold text-lg transition duration-300">
Start Learning Free
</button>
<button class="border-2 border-white text-white hover:bg-white hover:text-blue-600 px-6 py-3 rounded-md font-semibold text-lg transition duration-300 flex items-center justify-center">
<i class="far fa-play-circle mr-2 text-lg"></i> Watch Demo
</button>
</div>
<div class="mt-8 flex flex-wrap gap-y-4 items-center">
<div class="flex -space-x-2 mr-4">
<img src="https://randomuser.me/api/portraits/women/43.jpg" alt="User" class="w-10 h-10 rounded-full border-2 border-white">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-10 h-10 rounded-full border-2 border-white">
<img src="https://randomuser.me/api/portraits/women/28.jpg" alt="User" class="w-10 h-10 rounded-full border-2 border-white">
</div>
<div class="bg-white/10 backdrop-blur-sm inline-block px-4 py-1 rounded-full mr-4">
<i class="fas fa-star text-yellow-300"></i>
<span class="ml-1">4.9/5 (2,500+ reviews)</span>
</div>
<div class="bg-white/10 backdrop-blur-sm inline-block px-4 py-1 rounded-full">
<i class="fas fa-graduation-cap"></i>
<span class="ml-1">10+ Courses Available</span>
</div>
</div>
</div>
<div class="md:w-1/2 relative">
<div class="bg-white/20 backdrop-blur-sm p-2 rounded-xl inline-block absolute -top-8 -left-8 shadow-lg">
<div class="bg-white p-3 rounded-lg">
<div class="flex items-center space-x-2 text-gray-800">
<i class="fas fa-check-circle text-green-500"></i>
<span class="text-sm font-medium">Interactive Lessons</span>
</div>
</div>
</div>
<div class="bg-white/20 backdrop-blur-sm p-2 rounded-xl inline-block absolute -bottom-8 -right-8 shadow-lg">
<div class="bg-white p-3 rounded-lg">
<div class="flex items-center space-x-2 text-gray-800">
<i class="fas fa-laptop-code text-blue-500"></i>
<span class="text-sm font-medium">Built-in IDE</span>
</div>
</div>
</div>
<img src="https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" alt="Coding" class="rounded-xl shadow-2xl transform transition duration-500 hover:scale-105">
</div>
</div>
</div>
</section>
<!-- Popular Courses -->
<section id="courses" class="py-20 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Popular <span class="text-gradient">Coding Courses</span></h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">Learn programming languages and frameworks through interactive lessons with real-time feedback.</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
<div class="bg-white border border-gray-200 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-hover">
<div class="h-40 bg-gradient-to-r from-blue-500 to-blue-600 flex items-center justify-center">
<i class="fab fa-js text-white text-7xl"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-bold text-gray-900">JavaScript Fundamentals</h3>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">BEGINNER</span>
</div>
<p class="text-gray-600 mb-4">Master the basics of JavaScript, the language of the web.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>15 hours</span>
</div>
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-file-alt mr-1"></i>
<span>45 lessons</span>
</div>
</div>
<button class="w-full mt-4 bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium transition duration-300">
View Course
</button>
</div>
</div>
<div class="bg-white border border-gray-200 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-hover">
<div class="h-40 bg-gradient-to-r from-purple-500 to-purple-600 flex items-center justify-center">
<i class="fab fa-python text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 mb-4">Python for Beginners</h3>
<p class="text-gray-600 mb-4">Learn one of the most versatile and beginner-friendly programming languages.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>20 hours</span>
</div>
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-file-alt mr-1"></i>
<span>56 lessons</span>
</div>
</div>
<button class="w-full mt-4 bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium transition duration-300">
View Course
</button>
</div>
</div>
<div class="bg-white border border-gray-200 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-hover">
<div class="h-40 bg-gradient-to-r from-green-500 to-green-600 flex items-center justify-center">
<i class="fab fa-react text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 mb-4">React Masterclass</h3>
<p class="text-gray-600 mb-4">Build modern web applications with the most popular frontend framework.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>30 hours</span>
</div>
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-file-alt mr-1"></i>
<span>72 lessons</span>
</div>
</div>
<button class="w-full mt-4 bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium transition duration-300">
View Course
</button>
</div>
</div>
<div class="bg-white border border-gray-200 rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all duration-300 card-hover">
<div class="h-40 bg-gradient-to-r from-red-500 to-red-600 flex items-center justify-center">
<i class="fas fa-server text-white text-7xl"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-bold text-gray-900">Node.js Backend</h3>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">ADVANCED</span>
</div>
<p class="text-gray-600 mb-4">Create scalable backend services with JavaScript on the server side.</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>25 hours</span>
</div>
<div class="flex items-center text-sm text-gray-500">
<i class="far fa-file-alt mr-1"></i>
<span>60 lessons</span>
</div>
</div>
<button class="w-full mt-4 bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-md font-medium transition duration-300">
View Course
</button>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="inline-flex items-center text-blue-600 font-medium group">
Browse all courses
<i class="fas fa-arrow-right ml-2 group-hover:ml-3 transition-all duration-300"></i>
</button>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 bg-slate-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Why Learn with <span class="text-gradient">CodeMaster</span></h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">Our platform is designed to give you the best learning experience.</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-12">
<div class="text-center">
<div class="w-16 h-16 mx-auto mb-6 flex items-center justify-center rounded-full bg-blue-100 text-blue-600 text-2xl">
<i class="fas fa-laptop-code"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Interactive Coding</h3>
<p class="text-gray-600">Practice coding directly in your browser with our built-in IDE and get instant feedback.</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto mb-6 flex items-center justify-center rounded-full bg-purple-100 text-purple-600 text-2xl">
<i class="fas fa-project-diagram"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Real Projects</h3>
<p class="text-gray-600">Build portfolio-worthy projects that demonstrate your skills to potential employers.</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto mb-6 flex items-center justify-center rounded-full bg-green-100 text-green-600 text-2xl">
<i class="fas fa-chart-line"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Progress Tracking</h3>
<p class="text-gray-600">Monitor your learning journey with detailed progress reports and skill assessments.</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto mb-6 flex items-center justify-center rounded-full bg-yellow-100 text-yellow-600 text-2xl">
<i class="fas fa-users"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Community Support</h3>
<p class="text-gray-600">Get help from our active community of learners and experienced mentors.</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto mb-6 flex items-center justify-center rounded-full bg-red-100 text-red-600 text-2xl">
<i class="fas fa-mobile-alt"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Mobile Friendly</h3>
<p class="text-gray-600">Learn on the go with our mobile-optimized platform and offline access.</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto mb-6 flex items-center justify-center rounded-full bg-indigo-100 text-indigo-600 text-2xl">
<i class="fas fa-certificate"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Certificates</h3>
<p class="text-gray-600">Earn verifiable certificates to showcase your achievements to employers.</p>
</div>
</div>
</div>
</section>
<!-- Learning Paths -->
<section id="learning-path" class="py-20 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Structured <span class="text-gradient">Learning Paths</span></h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">Follow our expertly crafted learning paths to go from beginner to job-ready.</p>
</div>
<div class="relative learning-path max-w-3xl mx-auto">
<div class="relative mb-12 pl-10">
<div class="absolute left-0 z-10 flex items-center justify-center w-8 h-8 bg-blue-600 rounded-full">
<span class="text-white text-sm font-bold">1</span>
</div>
<div class="bg-slate-50 p-6 rounded-lg border border-gray-200 shadow-sm">
<h3 class="text-xl font-bold text-gray-900 mb-3">Beginner Programmer</h3>
<p class="text-gray-600 mb-4">Start from scratch and learn the fundamentals of programming with Python and JavaScript.</p>
<div class="flex flex-wrap gap-2">
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">Python Basics</span>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">JavaScript Intro</span>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">HTML & CSS</span>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">Git Fundamentals</span>
</div>
</div>
</div>
<div class="relative mb-12 pl-10">
<div class="absolute left-0 z-10 flex items-center justify-center w-8 h-8 bg-purple-600 rounded-full">
<span class="text-white text-sm font-bold">2</span>
</div>
<div class="bg-slate-50 p-6 rounded-lg border border-gray-200 shadow-sm">
<h3 class="text-xl font-bold text-gray-900 mb-3">Frontend Developer</h3>
<p class="text-gray-600 mb-4">Master modern frontend development with React, TypeScript, and responsive design.</p>
<div class="flex flex-wrap gap-2">
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">React.js</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">TypeScript</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">CSS Frameworks</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Testing</span>
</div>
</div>
</div>
<div class="relative mb-12 pl-10">
<div class="absolute left-0 z-10 flex items-center justify-center w-8 h-8 bg-green-600 rounded-full">
<span class="text-white text-sm font-bold">3</span>
</div>
<div class="bg-slate-50 p-6 rounded-lg border border-gray-200 shadow-sm">
<h3 class="text-xl font-bold text-gray-900 mb-3">Full Stack Developer</h3>
<p class="text-gray-600 mb-4">Build complete web applications with frontend and backend technologies.</p>
<div class="flex flex-wrap gap-2">
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Node.js</span>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Express</span>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Databases</span>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">APIs</span>
</div>
</div>
</div>
<div class="relative pl-10">
<div class="absolute left-0 z-10 flex items-center justify-center w-8 h-8 bg-red-600 rounded-full">
<span class="text-white text-sm font-bold">4</span>
</div>
<div class="bg-slate-50 p-6 rounded-lg border border-gray-200 shadow-sm">
<h3 class="text-xl font-bold text-gray-900 mb-3">Advanced Specializations</h3>
<p class="text-gray-600 mb-4">Dive deep into specialized areas like DevOps, Data Science, or Machine Learning.</p>
<div class="flex flex-wrap gap-2">
<span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded">Docker & Kubernetes</span>
<span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded">Data Analysis</span>
<span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded">Machine Learning</span>
<span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded">Security</span>
</div>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-8 py-3 rounded-md font-semibold text-lg transition duration-300">
Choose Your Path
</button>
</div>
</div>
</section>
<!-- Coding Environment -->
<section id="practice" class="py-20 bg-slate-800 text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-12 md:mb-0 md:pr-12">
<h2 class="text-3xl font-bold mb-6">Practice Coding in Our <span class="text-blue-300">Built-in IDE</span></h2>
<p class="text-lg opacity-90 mb-8">Get hands-on experience with our interactive coding environment. Write, run, and debug code right in your browser with no setup required.</p>
<ul class="space-y-4 mb-8">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mt-1 mr-3"></i>
<span>Real-time code execution with immediate feedback</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mt-1 mr-3"></i>
<span>Code completion and intelligent suggestions</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mt-1 mr-3"></i>
<span>Built-in debugging tools and error detection</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mt-1 mr-3"></i>
<span>100+ coding challenges with automated testing</span>
</li>
</ul>
<button class="bg-white text-blue-600 hover:bg-gray-100 px-6 py-3 rounded-md font-semibold text-lg transition duration-300">
Try Our Code Editor
</html>