For visualized instructions on how to use the app, go here
This project is a browser-based quiz application built with JavaScript using Web Components and Web Storage APIs. It includes a quiz component and a client-side storage for scoreboard.
- Timed quiz questions.
- Scorebgorad using Web Storage API
- Componentization using WebComponents API.
├── src/
│ ├── index.html
│ ├── components/
│ │ ├── AppComponent/
│ │ ├── HeaderComponent/
│ │ ├── QuizComponent/
│ │ │ ├── QuizContent.js
│ │ │ ├── QuizMenu.js
│ │ │ └── QuizResult.js
│ │ └── ScoreboardComponent/
│ └── styles/
│ └── reset.css
├── .editorconfig
├── .eslintrc.js
├── .stylelintrc.js
├── package.json
└── vite.config.jsgit clone git@github.com:Unvares/Web-Quiz.gitcd Web-QuizEnsure you have Node.js and npm installed, then run:
npm installCheck code quality with:
npm run lint-
Build the project:
npm run build
-
Start the HTTP server:
npm run http-server dist
-
Access the app by navigating to the IP address displayed in the console.
This project follows the BEM (Block-Element-Modifier) methodology for naming CSS classes. For more information: