Embeddable, Live Code Exercises
CKCode lets students run code directly in webpages and course content. It can use JupyterLite in the browser or connect to a Jupyter server. The examples on this site use JupyterLite.
With a little extra effort you can also incorporate correctness tests into your code modules, allowing your students to check their work as they go. This can be a powerful tool for learning, as it allows students to receive immediate feedback on their work, and to learn from their mistakes as they go.
This app was designed specifically for CourseKata Statistics and Data Science, an interactive online textbook tailored to teach introductory statistics and data science. As part of CourseKata's Better Book Project, it is driven by cutting-edge research and student data to continuously improve online learning resources.
Try the cell below, or visit the learner guide to explore the controls.
%%% prompt
# Try me! I'm set up to run R code