data-science-for-beginners/quiz-app
Jasmine Greenaway e93d6a7628 Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/3-Data-Visualization/13-meaningful-visualizations/starter/express-4.18.2 2023-05-18 20:07:57 +00:00
..
dist re-building application 2022-07-15 19:12:53 +03:00
public creating quiz app 2021-07-14 15:12:35 -04:00
src Fixed Navigation Bar scaling of quiz-app 2021-11-07 14:51:33 +01:00
.gitignore creating quiz app 2021-07-14 15:12:35 -04:00
LICENSE creating quiz app 2021-07-14 15:12:35 -04:00
README.md edits for quiz break-up, cleaning up file names 2021-09-05 16:57:10 -04:00
babel.config.js creating quiz app 2021-07-14 15:12:35 -04:00
package-lock.json Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/3-Data-Visualization/13-meaningful-visualizations/starter/express-4.18.2 2023-05-18 20:07:57 +00:00
package.json Bump json5, @vue/cli-plugin-babel, @vue/cli-plugin-eslint and @vue/cli-service 2022-12-31 17:59:09 +00:00

README.md

Quizzes

These quizzes are the pre- and post-lecture quizzes for the data science curriculum at https://aka.ms/datascience-beginners ## Adding a translated quiz set

Add a quiz translation by creating matching quiz structures in the assets/translations folders. The canonical quizzes are in assets/translations/en. The quizzes are broken into several groupings. Make sure to align the numbering with the proper quiz section. There are 40 quizzes total in this curriculum, with the count starting at 0.

After editing the translations, edit the index.js file in the translation folder to import all the files following the conventions in en.

Edit the index.js file in assets/translations to import the new translated files.

Then, edit the dropdown in App.vue in this app to add your language. Match the localized abbreviation to the folder name for your language.

Finally, edit all the quiz links in the translated lessons, if they exist, to include this localization as a query parameter: ?loc=fr for example.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Credits: Thanks to the original version of this quiz app: https://github.com/arpan45/simple-quiz-vue