GitHub - nas5w/typeofnan-javascript-quizzes: JavaScript quiz questions and expla...
source link: https://github.com/nas5w/typeofnan-javascript-quizzes
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Learn JavaScript fundamentals through fun and challenging quizzes! π
View the app: πhttps://quiz.typeofnan.dev
π How to run the app locally
In order to use this app locally, the package manager yarn needs to be installed
If you don't have it installed yet, head over to:
πhttps://yarnpkg.com/en/docs/install
and install the latest yarn version for your system.
1. Clone the repo
π Run this command to clone the repo, it shall install the app locally and change to its directory automatically:
git clone https://github.com/nas5w/typeofnan-javascript-quizzes typeofnan-javascript-quizzes && cd $_
2. Install dependencies
First, before you can use the app, you have to run this command to install all the dependencies:
yarn install
3. Start and view the app π
After you've installed all the dependencies, run this command to start the app:
yarn start
π
Then, in your browser, open http://localhost:8000/ to view it! ππ
π§ Contributing
I invite you to contribute to this repository! You can do so by opening an issue, or by directly contributing questions.
To directly contribute a quiz question, do the following:
- Fork the repository π΄
- In terminal run
yarn install
- For creating new question run
yarn new-question %your_question_name%
(Note%your_question_name%
should be lowercased with words separated with dash-
) - Open file
index.md
in directorycontent/questions/%your_question_name%
and fill all fields.
If you have any questions, let me know!
π About the app
The app was bootstrapped using the gatsby-starter-blog
template and then massaging it into a format conducive to quizzing. The app is deployed from master
to Netlify.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK