This is a simple quiz app written in JavaScript, HTML, and CSS. The app allows the user to select a username, set game preferences, and play a quiz with questions and answers provided by an API.
- Arcade style graphic
- Fast loading: The app loads quickly, allowing the user to start playing without long waiting times.
- Username: The user can select a username before starting the game.
- Preferences screen: The user can set the quiz difficulty, the number of questions, and the question categories.
- Questions and answers API: The app makes an API call to retrieve a set of questions and answers for the quiz.
- Points calculation: The user's points are calculated based on the question difficulty and the time taken to answer.
- Records: At the end of the quiz, a table displays the user's new record and previous records.
- JavaScript: The main programming language for the app's logic.
- HTML: The markup used to structure and display the app's user interface.
- CSS: The language used for styling and presenting the user interface.
- Make sure you have an up-to-date web browser installed on your computer.
- Download all the app files into a folder on your computer.
- Open the terminal in the application folder.
- Make sure you have Node.js installed on your computer. If you haven't installed it yet, you can download it from https://nodejs.org/.
- Install the application dependencies by running the following command in the terminal:
npm install
- Start the local server for the application by running the following command in the terminal:
This will start the local server using Parcel.
npm start
- Open your browser and visit the URL displayed in the terminal (usually http://localhost:1234) to view the application.
- The application will load, and you'll be ready to start using it.
- Implementing an authentication system to allow users to compare their records with other players.
- Implementing new languages (Italian first of all).
- Adding a "Help" feature.