exam / index.html
totochrist's picture
hiden exercise by department must short list on button of exam - Initial Deployment
23bf7d8 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ExamPro - Online Examination System</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.exam-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.timer-pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
}
100% {
transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
}
}
</style>
</head>
<body class="font-sans antialiased text-gray-800">
<!-- Navigation -->
<nav class="bg-white shadow-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="edit-3" class="h-8 w-8 text-indigo-600"></i>
<span class="ml-2 text-xl font-bold text-gray-900">ExamPro</span>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
<a href="#exams-section" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Exams</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Results</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Profile</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="download" class="w-4 h-4 mr-2"></i>
Get Mobile App
</button>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div class="sm:hidden hidden" id="mobile-menu">
<div class="pt-2 pb-3 space-y-1">
<a href="#" class="bg-indigo-50 border-indigo-500 text-indigo-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Dashboard</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Exams</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Results</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Profile</a>
<a href="#" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium flex items-center">
<i data-feather="download" class="w-4 h-4 mr-2"></i>
Get Mobile App
</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="gradient-bg text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
<div class="mb-8 lg:mb-0" data-aos="fade-right">
<h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl mb-4">
Online Examination Made Simple
</h1>
<p class="text-xl text-indigo-100 max-w-3xl">
Take exams anytime, anywhere with our secure platform. Perfect for students, professionals, and institutions.
</p>
<div class="mt-8 flex flex-col sm:flex-row gap-4">
<button onclick="document.getElementById('login-modal').classList.remove('hidden')" class="bg-white text-indigo-600 hover:bg-gray-100 px-6 py-3 rounded-md text-lg font-medium flex items-center justify-center">
<i data-feather="log-in" class="w-5 h-5 mr-2"></i>
Student Login
</button>
<button onclick="document.getElementById('signup-modal').classList.remove('hidden')" class="bg-indigo-800 hover:bg-indigo-900 text-white px-6 py-3 rounded-md text-lg font-medium flex items-center justify-center">
<i data-feather="user-plus" class="w-5 h-5 mr-2"></i>
Register Now
</button>
</div>
</div>
<div data-aos="fade-left">
<img src="http://static.photos/education/1024x576/1" alt="Online Exam" class="rounded-lg shadow-2xl">
</div>
</div>
</div>
</div>
<!-- Exams by Department Section -->
<div id="exams-section" class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center mb-12">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase" data-aos="fade-up">Practice Exams</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
Exercises by Department
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto" data-aos="fade-up">
Select your field of study to access relevant practice exams.
</p>
</div>
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
<!-- Science Department -->
<div class="bg-white overflow-hidden shadow rounded-lg exam-card transition duration-300 ease-in-out" data-aos="zoom-in">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center justify-between cursor-pointer" onclick="toggleExams('science')">
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3 text-white">
<i data-feather="atom"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Science</h3>
<p class="mt-1 text-sm text-gray-500">Physics, Chemistry, Biology</p>
</div>
</div>
<i id="science-arrow" data-feather="chevron-down" class="w-5 h-5 text-gray-500 transition-transform duration-200"></i>
</div>
<div id="science-exams" class="mt-6 grid grid-cols-1 gap-4 hidden">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Physics Fundamentals
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Chemistry Basics
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Biology Concepts
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
</div>
</div>
</div>
<!-- Mathematics Department -->
<div class="bg-white overflow-hidden shadow rounded-lg exam-card transition duration-300 ease-in-out" data-aos="zoom-in" data-aos-delay="100">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center justify-between cursor-pointer" onclick="toggleExams('math')">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-500 rounded-md p-3 text-white">
<i data-feather="divide"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Mathematics</h3>
<p class="mt-1 text-sm text-gray-500">Algebra, Calculus, Statistics</p>
</div>
</div>
<i id="math-arrow" data-feather="chevron-down" class="w-5 h-5 text-gray-500 transition-transform duration-200"></i>
</div>
<div id="math-exams" class="mt-6 grid grid-cols-1 gap-4 hidden">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Algebra Basics
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Calculus Problems
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Statistics Exercises
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
</div>
</div>
</div>
<!-- Engineering Department -->
<div class="bg-white overflow-hidden shadow rounded-lg exam-card transition duration-300 ease-in-out" data-aos="zoom-in" data-aos-delay="200">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center justify-between cursor-pointer" onclick="toggleExams('engineering')">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-500 rounded-md p-3 text-white">
<i data-feather="cpu"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Engineering</h3>
<p class="mt-1 text-sm text-gray-500">Mechanical, Electrical, Civil</p>
</div>
</div>
<i id="engineering-arrow" data-feather="chevron-down" class="w-5 h-5 text-gray-500 transition-transform duration-200"></i>
</div>
<div id="engineering-exams" class="mt-6 grid grid-cols-1 gap-4 hidden">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Mechanical Principles
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Electrical Circuits
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Civil Engineering Basics
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
</div>
</div>
</div>
<!-- Business Department -->
<div class="bg-white overflow-hidden shadow rounded-lg exam-card transition duration-300 ease-in-out" data-aos="zoom-in">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center justify-between cursor-pointer" onclick="toggleExams('business')">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-500 rounded-md p-3 text-white">
<i data-feather="dollar-sign"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Business</h3>
<p class="mt-1 text-sm text-gray-500">Finance, Marketing, Management</p>
</div>
</div>
<i id="business-arrow" data-feather="chevron-down" class="w-5 h-5 text-gray-500 transition-transform duration-200"></i>
</div>
<div id="business-exams" class="mt-6 grid grid-cols-1 gap-4 hidden">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Financial Accounting
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Marketing Strategies
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Business Management
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
</div>
</div>
</div>
<!-- Humanities Department -->
<div class="bg-white overflow-hidden shadow rounded-lg exam-card transition duration-300 ease-in-out" data-aos="zoom-in" data-aos-delay="100">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center justify-between cursor-pointer" onclick="toggleExams('humanities')">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3 text-white">
<i data-feather="book-open"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Humanities</h3>
<p class="mt-1 text-sm text-gray-500">History, Literature, Philosophy</p>
</div>
</div>
<i id="humanities-arrow" data-feather="chevron-down" class="w-5 h-5 text-gray-500 transition-transform duration-200"></i>
</div>
<div id="humanities-exams" class="mt-6 grid grid-cols-1 gap-4 hidden">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
World History
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Literary Analysis
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Philosophical Concepts
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
</div>
</div>
</div>
<!-- Computer Science Department -->
<div class="bg-white overflow-hidden shadow rounded-lg exam-card transition duration-300 ease-in-out" data-aos="zoom-in" data-aos-delay="200">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center justify-between cursor-pointer" onclick="toggleExams('cs')">
<div class="flex items-center">
<div class="flex-shrink-0 bg-red-500 rounded-md p-3 text-white">
<i data-feather="code"></i>
</div>
<div class="ml-4">
<h3 class="text-lg leading-6 font-medium text-gray-900">Computer Science</h3>
<p class="mt-1 text-sm text-gray-500">Programming, Algorithms, Databases</p>
</div>
</div>
<i id="cs-arrow" data-feather="chevron-down" class="w-5 h-5 text-gray-500 transition-transform duration-200"></i>
</div>
<div id="cs-exams" class="mt-6 grid grid-cols-1 gap-4 hidden">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Programming Basics
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Algorithm Design
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-between">
Database Concepts
<i data-feather="arrow-right" class="w-4 h-4"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Features Section -->
<div class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center mb-12">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase" data-aos="fade-up">Features</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
Why Choose ExamPro?
</p>
</div>
<div class="mt-10">
<div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
<!-- Feature 1 -->
<div class="bg-gray-50 p-6 rounded-lg" data-aos="zoom-in">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white mb-4">
<i data-feather="clock"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Timed Exams</h3>
<p class="text-gray-500">
Real-time countdown timer ensures fair examination conditions for all participants.
</p>
</div>
<!-- Feature 2 -->
<div class="bg-gray-50 p-6 rounded-lg" data-aos="zoom-in" data-aos-delay="100">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white mb-4">
<i data-feather="shield"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Secure Platform</h3>
<p class="text-gray-500">
Advanced anti-cheating measures including browser lockdown and activity monitoring.
</p>
</div>
<!-- Feature 3 -->
<div class="bg-gray-50 p-6 rounded-lg" data-aos="zoom-in" data-aos-delay="200">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white mb-4">
<i data-feather="bar-chart-2"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Instant Results</h3>
<p class="text-gray-500">
Get your scores immediately after submission with detailed performance analytics.
</p>
</div>
<!-- Feature 4 -->
<div class="bg-gray-50 p-6 rounded-lg" data-aos="zoom-in">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white mb-4">
<i data-feather="smartphone"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Mobile Friendly</h3>
<p class="text-gray-500">
Fully responsive design works perfectly on all devices including our dedicated mobile app.
</p>
</div>
<!-- Feature 5 -->
<div class="bg-gray-50 p-6 rounded-lg" data-aos="zoom-in" data-aos-delay="100">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white mb-4">
<i data-feather="file-text"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Multiple Question Types</h3>
<p class="text-gray-500">
MCQs, True/False, Fill in the blanks, and descriptive questions all supported.
</p>
</div>
<!-- Feature 6 -->
<div class="bg-gray-50 p-6 rounded-lg" data-aos="zoom-in" data-aos-delay="200">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white mb-4">
<i data-feather="download-cloud"></i>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">Auto-Save Progress</h3>
<p class="text-gray-500">
Never lose your answers. Our system saves your progress automatically.
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Exam Demo Section -->
<div class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center mb-12">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase" data-aos="fade-up">Experience</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
Try Our Demo Exam
</p>
</div>
<div class="bg-white shadow overflow-hidden sm:rounded-lg" data-aos="fade-up">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200 bg-gray-50 flex justify-between items-center">
<div>
<h3 class="text-lg leading-6 font-medium text-gray-900">
Sample Mathematics Quiz
</h3>
<p class="mt-1 max-w-2xl text-sm text-gray-500">
Basic arithmetic operations (Time: 5 minutes)
</p>
</div>
<div class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-sm font-medium flex items-center timer-pulse">
<i data-feather="clock" class="w-4 h-4 mr-1"></i>
04:58
</div>
</div>
<div class="px-4 py-5 sm:p-6">
<div class="mb-8">
<h4 class="text-lg font-medium text-gray-900 mb-4">Question 1 of 5</h4>
<p class="text-gray-700 mb-4">
What is the result of 15 × (7 + 3)?
</p>
<div class="space-y-3">
<div class="flex items-center">
<input id="option1" name="question1" type="radio" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300">
<label for="option1" class="ml-3 block text-gray-700">
105
</label>
</div>
<div class="flex items-center">
<input id="option2" name="question1" type="radio" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300">
<label for="option2" class="ml-3 block text-gray-700">
150
</label>
</div>
<div class="flex items-center">
<input id="option3" name="question1" type="radio" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300">
<label for="option3" class="ml-3 block text-gray-700">
180
</label>
</div>
<div class="flex items-center">
<input id="option4" name="question1" type="radio" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300">
<label for="option4" class="ml-3 block text-gray-700">
225
</label>
</div>
</div>
</div>
<div class="flex justify-between">
<button class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="chevron-left" class="w-4 h-4 mr-2"></i>
Previous
</button>
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
Next
<i data-feather="chevron-right" class="w-4 h-4 ml-2"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Mobile App Section -->
<div class="py-12 bg-indigo-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
<div class="mb-8 lg:mb-0" data-aos="fade-right">
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl mb-4">
Download Our Mobile App
</h2>
<p class="text-lg text-gray-600 max-w-3xl mb-6">
Take exams on the go with our dedicated Flutter mobile application. Available for both Android and iOS platforms.
</p>
<div class="space-y-4">
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-2 text-white">
<i data-feather="check"></i>
</div>
<div class="ml-3">
<p class="text-gray-700">Offline exam capability</p>
</div>
</div>
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-2 text-white">
<i data-feather="check"></i>
</div>
<div class="ml-3">
<p class="text-gray-700">Push notifications for exam reminders</p>
</div>
</div>
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-2 text-white">
<i data-feather="check"></i>
</div>
<div class="ml-3">
<p class="text-gray-700">Biometric authentication</p>
</div>
</div>
</div>
<div class="mt-8 flex flex-col sm:flex-row gap-4">
<a href="#" class="bg-gray-900 hover:bg-gray-800 text-white px-6 py-3 rounded-md text-lg font-medium flex items-center justify-center">
<i data-feather="download" class="w-5 h-5 mr-2"></i>
Android App
</a>
<a href="#" class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-6 py-3 rounded-md text-lg font-medium flex items-center justify-center">
<i data-feather="download" class="w-5 h-5 mr-2"></i>
iOS App
</a>
</div>
</div>
<div data-aos="fade-left">
<img src="http://static.photos/technology/640x360/1" alt="Mobile App" class="rounded-lg shadow-xl">
</div>
</div>
</div>
</div>
<!-- Testimonials -->
<div class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center mb-12">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase" data-aos="fade-up">Testimonials</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up">
What Our Users Say
</p>
</div>
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
<!-- Testimonial 1 -->
<div class="bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up">
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full" src="http://static.photos/people/200x200/1" alt="Sarah Johnson">
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-900">Sarah Johnson</h4>
<p class="text-indigo-600">University Student</p>
</div>
</div>
<p class="text-gray-600">
"ExamPro made my online exams so much easier. The interface is intuitive and I love how it saves my progress automatically."
</p>
<div class="mt-4 flex text-yellow-400">
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up" data-aos-delay="100">
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full" src="http://static.photos/people/200x200/2" alt="Michael Chen">
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-900">Michael Chen</h4>
<p class="text-indigo-600">Professional Certification Candidate</p>
</div>
</div>
<p class="text-gray-600">
"The mobile app is fantastic! I was able to complete my certification exam during my commute without any issues."
</p>
<div class="mt-4 flex text-yellow-400">
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-gray-50 p-6 rounded-lg shadow" data-aos="fade-up" data-aos-delay="200">
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full" src="http://static.photos/people/200x200/3" alt="Dr. Emily Rodriguez">
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-900">Dr. Emily Rodriguez</h4>
<p class="text-indigo-600">University Professor</p>
</div>
</div>
<p class="text-gray-600">
"As an instructor, I appreciate the robust anti-cheating features. It gives me confidence in the integrity of online assessments."
</p>
<div class="mt-4 flex text-yellow-400">
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
<i data-feather="star" class="w-5 h-5 fill-current"></i>
</div>
</div>
</div>
</div>
</div>
<!-- CTA Section -->
<div class="gradient-bg text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl font-extrabold tracking-tight sm:text-4xl mb-6" data-aos="fade-up">
Ready to Transform Your Examination Experience?
</h2>
<p class="text-xl text-indigo-100 max-w-3xl mx-auto mb-8" data-aos="fade-up">
Join thousands of students and professionals who trust ExamPro for their online assessments.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4" data-aos="fade-up">
<a href="#" class="bg-white text-indigo-600 hover:bg-gray-100 px-8 py-4 rounded-md text-lg font-medium flex items-center justify-center">
<i data-feather="user-plus" class="w-5 h-5 mr-2"></i>
Sign Up Free
</a>
<a href="#" class="bg-indigo-800 hover:bg-indigo-900 text-white px-8 py-4 rounded-md text-lg font-medium flex items-center justify-center">
<i data-feather="book" class="w-5 h-5 mr-2"></i>
Learn More
</a>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-800 text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-medium mb-4">ExamPro</h3>
<p class="text-gray-400">
The leading online examination platform for students, professionals, and institutions.
</p>
</div>
<div>
<h3 class="text-lg font-medium mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-medium mb-4">Support</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Help Center</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Terms of Service</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-medium mb-4">Connect With Us</h3>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin"></i>
</a>
</div>
<div class="mt-4">
<p class="text-gray-400">Email: support@exampro.com</p>
<p class="text-gray-400">Phone: +1 (555) 123-4567</p>
</div>
</div>
</div>
<div class="mt-12 pt-8 border-t border-gray-700 text-center text-gray-400">
<p>&copy; 2023 ExamPro. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Login Modal -->
<div id="login-modal" class="fixed z-10 inset-0 hidden overflow-y-auto">
<div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 transition-opacity" aria-hidden="true">
<div class="absolute inset-0 bg-gray-500 opacity-75" onclick="document.getElementById('login-modal').classList.add('hidden')"></div>
</div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
<h3 class="text-lg leading-6 font-medium text-gray-900 mb-4">Student Login</h3>
<form class="space-y-4">
<div>
<label for="email" class="block text-sm font-medium text-gray-700">Email</label>
<input type="email" id="email" name="email" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700">Password</label>
<input type="password" id="password" name="password" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
<label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label>
</div>
<div class="text-sm">
<a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Forgot password?</a>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:w-auto sm:text-sm">
Sign in
</button>
<button type="button" onclick="document.getElementById('login-modal').classList.add('hidden')" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Cancel
</button>
</div>
</div>
</div>
</div>
<!-- Signup Modal -->
<div id="signup-modal" class="fixed z-10 inset-0 hidden overflow-y-auto">
<div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 transition-opacity" aria-hidden="true">
<div class="absolute inset-0 bg-gray-500 opacity-75" onclick="document.getElementById('signup-modal').classList.add('hidden')"></div>
</div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full">
<h3 class="text-lg leading-6 font-medium text-gray-900 mb-4">Create Account</h3>
<form class="space-y-4">
<div class="grid grid-cols-2 gap-4">
<div>
<label for="first-name" class="block text-sm font-medium text-gray-700">First Name</label>
<input type="text" id="first-name" name="first-name" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
<div>
<label for="last-name" class="block text-sm font-medium text-gray-700">Last Name</label>
<input type="text" id="last-name" name="last-name" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-700">Email</label>
<input type="email" id="email" name="email" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700">Password</label>
<input type="password" id="password" name="password" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
<div>
<label for="confirm-password" class="block text-sm font-medium text-gray-700">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md p-2 border">
</div>
<div class="flex items-center">
<input id="terms" name="terms" type="checkbox" required class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
<label for="terms" class="ml-2 block text-sm text-gray-700">I agree to the <a href="#" class="text-indigo-600 hover:text-indigo-500">Terms and Conditions</a></label>
</div>
</form>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:w-auto sm:text-sm">
Create Account
</button>
<button type="button" onclick="document.getElementById('signup-modal').classList.add('hidden')" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-707 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Cancel
</button>
</div>
</div>
</div>
</div>
<script>
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
// Mobile menu toggle
document.querySelector('[aria-controls="mobile-menu"]').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Toggle exams visibility
function toggleExams(department) {
const exams = document.getElementById(`${department}-exams`);
const arrow = document.getElementById(`${department}-arrow`);
exams.classList.toggle('hidden');
if (exams.classList.contains('hidden')) {
arrow.style.transform = 'rotate(0deg)';
} else {
arrow.style.transform = 'rotate(180deg)';
}
}
feather.replace();
</script>
</body>
</html>
For the Flutter Android app, you would need to create a separate project using the Flutter framework. Here's a basic structure of what the Flutter app might look like (this would be in Dart code, not HTML):
1. Create a new Flutter project:
bash
flutter create exampro_app
2. The main files would include:
- `lib/main.dart` - Entry point of the application
- `lib/screens/` - Contains all the screen widgets
- `login_screen.dart`
- `dashboard_screen.dart`
- `exam_screen.dart`
- `results_screen.dart`
- `profile_screen.dart`
- `lib/widgets/` - Reusable widgets
- `lib/models/` - Data models
- `lib/services/` - API services and business logic
The Flutter app would need to connect to your backend API to:
- Authenticate users
- Fetch exam questions
- Submit exam answers
- Retrieve results
- Sync with the web platform
Key features to implement in Flutter:
1. Secure authentication (JWT tokens)
2. Offline exam capability with local storage
3. Timer functionality
4. Question navigation
5. Answer submission
6. Result visualization
7. Push notifications for exam reminders
Would you like me to provide more details about any specific part of the Flutter implementation?