Description Usage Arguments Value
View source: R/create_question.R
Creates an HTML file with the question, answers, answer images, image holders for results and leaderboard and navigation to the previous and next question.
1 | create_question(n, quiz = getOption("peRson.quiz"))
|
n |
Sequence number of the quiz question. |
quiz |
Quiz environment with quiz variables (uses questions, question_colors, named_colors, css_file). |
Writes quiz/Qn.html file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.