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! 🚀
- 📱 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
- HTML5
- CSS3 (with Flexbox)
- JavaScript (ES6+)
- Font Awesome Icons
- Google Fonts
- A modern web browser
- Basic understanding of HTML, CSS, and JavaScript
- Code editor (VS Code recommended)
- Clone the repository:
git clone https://github.com/yourusername/quiz-app.git
- Navigate to the project directory:
cd quiz-app
- Open
index.html
in your browser
quiz-app/
│
├── index.html
├── index.js
├── src/
│ └── css/
│ └── style.css
└── README.md
- Open the application in your web browser
- Read each question carefully
- Select your answer from the multiple-choice options
- Click the "Submit" button to proceed
- View your final score and statistics at the end
- Click "Try Again" to restart the quiz
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)
}
Modify style.css
to customize:
- Color scheme
- Fonts
- Animations
- Layout
- Responsive breakpoints
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Font Awesome for the beautiful icons
- The web development community for inspiration
- All contributors and testers
Your Name - @your_twitter
Project Link: https://abbasi-codes-hub.github.io/quizapp/