Skip to content

Commit

Permalink
Merge pull request bonartm#31 from macagua/main
Browse files Browse the repository at this point in the history
Added more improvements
  • Loading branch information
bonartm authored Nov 28, 2022
2 parents fa3587d + c80c1ab commit 3b0e6d3
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 24 deletions.
3 changes: 1 addition & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Combining all steps leads to something like this (edit in the [🚀quizdown edit
Below you find the steps of the machine learning workflow.
Do you find the **correct order**?

> The model selection happens before the `final model evaluaton`!
> The model selection happens before the `final model evaluation`!

1. Get the data
2. Explore the data
Expand Down Expand Up @@ -107,4 +107,3 @@ Combining all steps leads to something like this (edit in the [🚀quizdown edit
- tryout the [quizdown live editor](https://bonartm.github.io/quizdown-live-editor/).
- read about the supported [configuration and options](options.md).
- learn about how to [`import` quizdown](./module_import.md) and use it programmatically to have full control on how and when to create quizdown app in your project.

1 change: 0 additions & 1 deletion docs/module_import.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ let rawQuizdown = `

createApp(rawQuizdown, node, config)
```

10 changes: 5 additions & 5 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Currently, the following options are supported. Shown are the default settings:

```typescript
let config = {
startOnLoad: true, // detect and convert all divs with class quizdown
shuffleAnswers: true, // shuffle answers for each question
shuffleQuestions: false, // shuffle questsions for each quiz
nQuestions: undefined // dsiplay n questions at random, if shuffleQuestions is true
startOnLoad: true, // detect and convert all div html elements with class quizdown
shuffleAnswers: true, // shuffle answers for each question
shuffleQuestions: false, // shuffle questions for each quiz
nQuestions: undefined // display n questions at random, if shuffleQuestions is true
primaryColor: 'steelblue', // primary CSS color
secondaryColor: '#f2f2f2', // secondary CSS color
textColor: 'black', // text color of some elements
Expand Down Expand Up @@ -94,7 +94,7 @@ x = [1, 2, 3, 4]
1. [ ] Larry Page


#### Which console appeared first, wich last?
#### Which console appeared first, witch last?

1. Atari 2600
2. NES
Expand Down
1 change: 0 additions & 1 deletion docs/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,3 @@ That's **super easy**!
## Fill in the Blanks (WIP)

...

8 changes: 1 addition & 7 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h1>Quizdown Demo Page</h1>

![](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Ted_Nelson_cropped.jpg/330px-Ted_Nelson_cropped.jpg)

> He coined the terms *hyptertext* and *hypermedia* in 1963!
> He coined the terms *hypertext* and *hypermedia* in 1963!

1. [x] Ted Nelson
1. [ ] Donald Knuth
Expand Down Expand Up @@ -189,12 +189,6 @@ <h1>Quizdown Demo Page</h1>
- [ ] `WWW`
- [ ] `C3PO`







</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/components/QuestionView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</script>

<h3>
Q{n}: {@html question.text}
{$_('questionLetter')}{n}: {@html question.text}
</h3>

{#if question.explanation}
Expand Down
3 changes: 2 additions & 1 deletion src/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"reset": "Noch einmal!",
"hint": "Tipp anzeigen",
"resultsTitle": "Ihr Ergebnis",
"resultsText": "Sie haben {points} von {total} Fragen richtig beantwortet!"
"resultsText": "Sie haben {points} von {total} Fragen richtig beantwortet!",
"questionLetter": "F"
}
3 changes: 2 additions & 1 deletion src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"reset": "One more time!",
"hint": "Show hint",
"resultsTitle": "Your quiz results",
"resultsText": "You have answered {points} out of {total} questions correctly!"
"resultsText": "You have answered {points} out of {total} questions correctly!",
"questionLetter": "Q"
}
9 changes: 5 additions & 4 deletions src/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"next": "Siguiente",
"previous": "Anterior",
"evaluate": "Respuesta",
"reset": "Otra vez!",
"hint": "Pista",
"resultsTitle": "Resultados",
"resultsText": "Ha acertado a {points} preguntas de {total}!"
"reset": "¡Otra vez!",
"hint": "Mostrar pista",
"resultsTitle": "Tus resultados",
"resultsText": "¡Respondiste correctamente {points} de {total} preguntas!",
"questionLetter": "P."
}
3 changes: 2 additions & 1 deletion src/languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"reset": "Recommencer!",
"hint": "Indice",
"resultsTitle": "Vos résultats",
"resultsText": "Vous avez répondu correctement à {points} questions sur {total}!"
"resultsText": "Vous avez répondu correctement à {points} questions sur {total}!",
"questionLetter": "Q"
}

0 comments on commit 3b0e6d3

Please sign in to comment.