## -- example-parsons -----------------------------------------------------
## Parson's problem
parsons_problem(
header = "This is an example of a Parsons problem",
text = c("Drag from here", "Construct your solution here"),
initial = c(
"iris",
"mutate(...)",
"summarize(...)",
"print()"
),
input_id = "input_parsons"
)
parsons_problem(
initial = c(
"iris",
"mutate(...)",
"summarize(...)",
"print()"
),
input_id = "input_parsons"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.