A demo project made while learning React.
Idea and initial design based on Scrimba: Learn React and associated Figma file.
Quiz questions fetched from Open Trivia Database API.
Bootstrapped with Create React App.
A few concepts learned and implemented in this project:
- Using React to create composable and reusable elements which can be dynamically rendered to a page
- Converting a basic design in Figma to a working application
- Using Hooks (useState, useEffect) to handle stateful logic within components
- Using PropTypes to ensure props passed between components remain the correct type
- Using React Router to route between pages according to links
- Implementing responsive design principles to adapt content style according to viewport dimensions
git clone https://github.com/amrl/quiz-react.git
cd quiz-react
npm install
npm start