Skip to content

A modern Web Development Quiz App built using HTML, CSS, and JavaScript. It includes 300+ questions related to HTML, CSS and JavaScript with a timer-based quiz system, instant answer feedback, scoring, animations and basic security features. Designed for practice, learning and exam preparation.

License

Notifications You must be signed in to change notification settings

YasirAwan4831/webdev-quiz-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 Web Development Quiz App

An interactive and secure quiz platform built with HTML, CSS and JavaScript.
This app helps students prepare for exams and viva by practicing 300+ MCQs.

Key features include:

  • Login with student name (to personalize experience).
  • Secure quiz interface (copy-protection, anti-cheating features).
  • Timer-based questions with automatic next-question handling.
  • Beautiful animations and responsive design.
  • Final score display with congratulatory message.

Preview

Login Page

image

Features

  • 🔑 Login System
    • Users can enter their name, and the quiz starts personalized with their input.
  • Timer-Based Quiz
    • Each question has a limited time (15 seconds).
  • 📊 Scoring System
    • Tracks correct answers and displays the final score at the end.
  • 🛡 Copy Protection
    • Right-click disabled, text selection disabled and keyboard shortcuts blocked (Ctrl + C, Ctrl + U, F12).
  • 🎨 Animations & UI
    • Smooth transitions, modern design and responsive quiz interface.
  • 🖨 Print Protection – Only the quiz container is visible when printing, everything else is hidden.

𝐒𝐜𝐫𝐞𝐞𝐧𝐬𝐡𝐨𝐭𝐬

Login Page

Users enter their name to start the quiz.
Login Screenshot
image

Quiz Interface ?

Questions are displayed in a multiple-choice format with a timer and answer options.
Quiz Interface Screenshotimage

Correct Answer Example

When the user selects the correct answer, the button turns green and a success message appears.
Correct Output image

Incorrect Answer Example

When the user selects the wrong answer, the button turns red and a warning message appears.
Incorrect Output:
image


Installation & Usage

Follow the steps below to set up and run the project locally:

  1. Clone the Repository
    git clone https://github.com/YasirAwan4831/webdev-quiz-app.git
    
    
  2. Navigate to the Project Folder:
    cd webdev-quiz-app
    
    
    
  3. Open in VS Code (or any code editor)

code.

  1. Run the Application
Simply open index.html or quiz.html in your browser.

Make sure JavaScript is enabled. <br>



𝐅𝐨𝐥𝐝𝐞𝐫 𝐒𝐭𝐫𝐮𝐜𝐭𝐮𝐫𝐞

```bash

webdev-quiz-app/
│ ├── index.html # Login page (enter name to start quiz)
├── quiz.html # Main quiz page
│ ├── css/
│ └── style.css # Styles for UI & animations
│ ├── js/
│ ├── auth.js # Handles login (name entry)
│ └── quiz.js # Core quiz logic (timer, scoring, protection)
│ ├── questions/
│ └── mcqs.js # Question bank (300+ questions)
│ ├── docu/
│ ├── quiz_documentation.pdf # Project documentation
│ └── images/ # Screenshots
│ ├── LICENSE.txt # MIT License
└── .gitignore # Ignore unnecessary files



Contributing

Contributions, issues, and feature requests are welcome!
Feel free to fork this repo and submit a Pull Request.

Steps to contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes
  4. Commit your changes (git commit -m "Add new feature")
  5. Push to the branch (git push origin feature-branch)
  6. Create a Pull Request

---

License

This project is licensed under the MIT License – see the LICENSE file for details.

---

🌐 Live Demo

You can view the live version of this project here:
Web Development Quiz App - Live


Future Enhancements

To make the quiz system more scalable, user-friendly, and widely applicable in educational contexts, the following enhancements can be implemented in the future:

1 Mobile Application (Android/iOS) Develop the system as a dedicated mobile app, ensuring that students can access quizzes conveniently from their smartphones and tablets anytime, anywhere.

  1. SaaS-Based Platform Deploy the solution as a Software-as-a-Service (SaaS) application, enabling schools, colleges, and training institutes to create accounts, upload their own question banks, and conduct secure online assessments.

  2. Database Integration Replace the static, hardcoded question bank with a backend database system (e.g., MySQL, MongoDB) that allows dynamic storage, retrieval, and management of quiz content. This would make the system scalable and easier to maintain.

  3. Enhanced Analytics and Reporting Introduce detailed performance analytics including accuracy rates, progress charts, and personalized feedback to help students identify weak areas and improve over time.

  4. Gamification Features Add leaderboards, badges, rewards, and progress milestones to make learning more engaging, competitive, and motivating for students.

  5. Multi-language Support Extend the system to support multiple languages, making it inclusive and accessible to learners from diverse backgrounds.

  6. Offline Accessibility Provide an option for offline quiz attempts by allowing users to download quizzes and synchronize results when they reconnect to the internet.


Author

Muhammad Yasir
Passionate Web Developer & IT Student

About

A modern Web Development Quiz App built using HTML, CSS, and JavaScript. It includes 300+ questions related to HTML, CSS and JavaScript with a timer-based quiz system, instant answer feedback, scoring, animations and basic security features. Designed for practice, learning and exam preparation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published