JS_Quiz_Maker is a cross-platform desktop application built with Electron, Node.js, and Express that allows you to create and manage JavaScript quizzes effortlessly. Whether you're a teacher, a developer, or simply want to challenge your JavaScript knowledge, this app makes quiz creation and sharing a breeze.
- Design quizzes using a text file and view them within our custom graphical user interface (GUI).
- Automatically submit quiz scores and provide immediate feedback to the user.
- Detailed scoring and feedback after completing a quiz.
- Share quizzes by transferring text files and importing them into the application when running it elsewhere.
- Create and edit JavaScript quizzes with a user-friendly interface.
- Add multiple-choice questions with customizable options.
- Add multiple-choice questions with customizable options.
- Allow app to be compiled w/o dependencies through one executable.
Run the following command in your terminal:
git clone https://github.com/arad55500/JS_Quiz_Maker.git
cd JS_Quiz_Maker
./launch.sh
Once the application has installed, you can use the following command to run it:
./launch.sh
-
Clone this repository to your local machine:
git clone https://github.com/arad55500/JS_Quiz_Maker.git
-
Navigate to the project directory:
cd JS_Quiz_Maker
-
Install the required dependencies:
npm install
To run JS_Quiz_Maker, use the following command:
npm start
- Create a new Text File
- Follow the guide for creating quizzes via text file.
- Add questions and customize options.
- Save your quiz.
You must follow the correct syntax in order for the quiz to output correctly.
openAnswer(question, response)
Example:
openAnswer(What is the capital of France?, Paris)
multipleChoice2questions(question, choice1, choice2, response)
Example:
multipleChoice2questions(Which of these is a fruit?, Apple, Car, Apple)
multipleChoice3questions(question, choice1, choice2, choice3, response)
Example:
multipleChoice3questions(Which languages are used in web development?, Python, JavaScript, Ruby, JavaScript)
multipleChoice4questions(question, choice1, choice2, choice3, choice4, response)
Example:
multipleChoice4questions(What's the largest planet in our solar system?, Earth, Mars, Jupiter, Venus, Jupiter)
Call your text file any name, but make sure to add the .txt extension at the end when saved.
- Launch the application.
- Click on "Load Quiz"
- Select a quiz via inputting a file.
- Answer the questions and submit your quiz.
- View your score and feedback.
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure the code is well-documented.
- Test thoroughly.
- Create a pull request with a clear description of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
We would like to thank the following libraries and frameworks for making this project possible:
- Electron: https://www.electronjs.org/
- Node.js: https://nodejs.org/
- Express: https://expressjs.com/
- Other open-source contributors and projects.
Enjoy using JS_Quiz_Maker! Happy quizzing!