Skip to content

This is a fully functional Quiz Application built using HTML, CSS, and vanilla JavaScript. The app dynamically renders multiple-choice questions from a pre-defined dataset, tracks user input, validates answers, calculates score, and displays results — all without using any external libraries or frameworks.

Notifications You must be signed in to change notification settings

Abbasi-codes-hub/quizapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Interactive Quiz Application

License: MIT HTML CSS JavaScript

A modern, responsive quiz application built with HTML, CSS, and JavaScript. Test your knowledge with multiple-choice questions and get instant feedback on your performance! 🚀

✨ Features

  • 📱 Responsive design that works on all devices
  • 🎨 Beautiful UI with smooth animations
  • ✅ Multiple choice questions with instant feedback
  • 📊 Score tracking and final results display
  • 🔄 Option to restart the quiz
  • 💫 Interactive user interface with hover effects
  • 📝 15 diverse questions covering various topics

🛠️ Technologies Used

  • HTML5
  • CSS3 (with Flexbox)
  • JavaScript (ES6+)
  • Font Awesome Icons
  • Google Fonts

🚀 Getting Started

Prerequisites

  • A modern web browser
  • Basic understanding of HTML, CSS, and JavaScript
  • Code editor (VS Code recommended)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/quiz-app.git
  1. Navigate to the project directory:
cd quiz-app
  1. Open index.html in your browser

📂 Project Structure

quiz-app/
│
├── index.html
├── index.js
├── src/
│   └── css/
│       └── style.css
└── README.md

💡 How to Use

  1. Open the application in your web browser
  2. Read each question carefully
  3. Select your answer from the multiple-choice options
  4. Click the "Submit" button to proceed
  5. View your final score and statistics at the end
  6. Click "Try Again" to restart the quiz

🎨 Customization

Adding New Questions

Add new questions to the quizData array in index.js:

{
    question: "Your question here?",
    options: ["Option 1", "Option 2", "Option 3", "Option 4"],
    correct: 0  // Index of correct answer (0-3)
}

Styling

Modify style.css to customize:

  • Color scheme
  • Fonts
  • Animations
  • Layout
  • Responsive breakpoints

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

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

🌟 Acknowledgments

  • Font Awesome for the beautiful icons
  • The web development community for inspiration
  • All contributors and testers

📧 Contact

Your Name - @your_twitter

Project Link: https://abbasi-codes-hub.github.io/quizapp/


<<<<<<< HEAD ⭐️ From Samar Codes

About

This is a fully functional Quiz Application built using HTML, CSS, and vanilla JavaScript. The app dynamically renders multiple-choice questions from a pre-defined dataset, tracks user input, validates answers, calculates score, and displays results — all without using any external libraries or frameworks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published