Objective
The tip purpose is to show you how simply you can create a quiz using vanilla Tiddlywiki. Tiddlywiki is very powerful in itself and this example uses template feature.
KISS → Keep It Simple Stupid
HowTo
-
Create a set of questions
- each question in one tiddler (card)
- use title for question
- use text for answer
-
Tag all questions with
quiz
(or what you like) -
Next create the Quiz
-
In a tiddler say
My Quiz
put the below wikitext
<$let host=<<currentTiddler>> >
<$list filter="[tag[quiz]] :except[<host>get[remembered]enlist-input[]]" template="tpl-quiz"/>
</$let>
- Save and see the quiz.
How it works
- All questions are shown using details html tag
- Questions are visible, answer are hidden
- Click show answer, to see the answer
- Click Remembered if you have given the correct answer
- NOTE: Any remembered question will be excluded from quiz
- You can reset the quiz.
Demo: Countries and Cities
-
Download simple-quiz-with-remembered-button.json (1.4 KB)
-
Drag and drop into TiddlyWiki — a non-linear personal web notebook
-
Open Test Quiz: Countries and Capitals
Exercises
E1. Prettify the buttons (reset and remembered) to better suit your UI
E2. Prettify the question by styling the details tag
E3. Show one question at a time