microsoft/AI-For-Beginners

Public

mirrored fromhttps://github.com/microsoft/AI-For-BeginnersAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
688fc3df23a2edcf9eb79f17ab423021a6311bf8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

etc/quiz-app/README.md

45lines · modecode

1# Quizzes
2
3These quizzes are the pre- and post-lecture quizzes for the AI curriculum at https://aka.ms/ai-beginners
4
5## Adding a translated quiz set
6
7Add 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.
8
9After editing the translations, edit the index.js file in the translation folder to import all the files following the conventions in `en`.
10
11Edit the `index.js` file in `assets/translations` to import the new translated files.
12
13Then, edit the dropdown in `App.vue` in this app to add your language. Match the localized abbreviation to the folder name for your language.
14
15Finally, edit all the quiz links in the translated lessons, if they exist, to include this localization as a query parameter: `?loc=fr` for example.
16
17## Project setup
18
19```
20npm install
21```
22
23### Compiles and hot-reloads for development
24
25```
26npm run serve
27```
28
29### Compiles and minifies for production
30
31```
32npm run build
33```
34
35### Lints and fixes files
36
37```
38npm run lint
39```
40
41### Customize configuration
42
43See [Configuration Reference](https://cli.vuejs.org/config/).
44
45Credits: Thanks to the original version of this quiz app: https://github.com/arpan45/simple-quiz-vue
46