library(learnr)
question( "Which planet do we live on?", answer("Mars", correct = FALSE), answer("Earth", correct = TRUE), answer("Saturn", correct = FALSE), allow_retry = TRUE )
learnrhash::encoder_logic() learnrhash::encoder_ui()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.