AI-For-Beginners/etc/quiz-app
Pikachú 9ba2c38371
Merge pull request #329 from microsoft/dependabot/npm_and_yarn/etc/quiz-app/webpack-dev-middleware-5.3.4
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /etc/quiz-app
2024-06-03 12:55:51 +03:00
..
dist rebuilt-app 2022-07-16 00:21:07 +03:00
public moving quiz app, refactoring per lesson 2022-04-21 09:46:09 -04:00
src regenerating quizzes and adding video link 2022-05-25 10:13:14 -04:00
README.md moving quiz app, refactoring per lesson 2022-04-21 09:46:09 -04:00
babel.config.js moving quiz app, refactoring per lesson 2022-04-21 09:46:09 -04:00
package-lock.json Merge pull request #329 from microsoft/dependabot/npm_and_yarn/etc/quiz-app/webpack-dev-middleware-5.3.4 2024-06-03 12:55:51 +03:00
package.json fix: upgrade vue-i18n from 8.22.2 to 8.28.2 2023-10-02 00:15:33 +00:00

README.md

Quizzes

These quizzes are the pre- and post-lecture quizzes for the AI curriculum at https://aka.ms/ai-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 by lesson. 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