quizdown-extended
Version:
Markdown for generating interactive quiz apps in the browser. (With more functions)
11 lines • 391 B
Markdown
Add the following part somewhere:
``` javascript
const shadowHost = document.querySelector('.quizdown'); // host element
quizdown.listenForStats(shadowHost, (event) => {
// Add your code here...
});
```
It will be called when quizdown is initialized and everytime a quiz is finished.
You get the following: number of questions, visited, solved, right, wrong