pkgdown/assets/snippets/questionquiz.md

{r quiz1, echo=FALSE} quiz(caption = "Quiz 1", question("What number is the letter A in the *English* alphabet?", answer("8"), answer("14"), answer("1", correct = TRUE), answer("23") ), question("Where are you right now? (select ALL that apply)", answer("Planet Earth", correct = TRUE), answer("Pluto"), answer("At a computing device", correct = TRUE), answer("In the Milky Way", correct = TRUE), incorrect = "Incorrect. You're on Earth, in the Milky Way, at a computer." ) )



rstudio/learnr documentation built on Sept. 6, 2024, 11:06 p.m.