Loading repository data…
Loading repository data…
Ayokanmi-Adejola / repository
A modern, fully responsive quiz application built with React, TypeScript, and Tailwind CSS. Challenge your frontend skills across HTML, CSS, JavaScript, and Accessibility topics. Features real-time scoring, accessibility support, dark mode, and a sleek, professional UI.
A beautiful, fully-featured quiz application built with React, TypeScript, and Tailwind CSS. Test your frontend development knowledge across HTML, CSS, JavaScript, and Accessibility topics.
This project fulfills all Frontend Mentor challenge requirements:
Clone the repository
git clone https://github.com/Ayokanmi-Adejola/frontend-quiz-app.git
cd frontend-quiz-app
Install dependencies
npm install
Start the development server
npm run dev
Open your browser
Navigate to http://localhost:5173
src/
├── components/ # Reusable UI components
│ ├── Attribution.tsx # Frontend Mentor attribution
│ ├── QuestionCard.tsx # Quiz question interface
│ ├── ResultsScreen.tsx# Final score display
│ ├── SubjectCard.tsx # Subject selection cards
│ └── ThemeToggle.tsx # Light/dark mode toggle
├── data/
│ └── quiz-data.json # Quiz questions and answers
├── hooks/ # Custom React hooks
│ ├── useQuizData.ts # Quiz data management
│ └── useTheme.ts # Theme state management
├── types/
│ └── quiz.ts # TypeScript type definitions
├── App.tsx # Main application component
├── main.tsx # Application entry point
└── index.css # Global styles
from-purple-400 to-purple-600)from-orange-400 to-orange-600)from-blue-400 to-blue-600)from-yellow-400 to-yellow-600)from-purple-400 to-purple-600)npm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run lint - Run ESLint