More interactivity
Interactive course material does not have to mean developing a complete web application. A responsive plot, an executable code cell, a parameter control, a molecular viewer, an animation, or an interactive slide can make an existing page more engaging and give learners another way to explore an idea.
Quarto supports these elements within the same source documents used for the surrounding course material. Many can therefore be introduced as small additions rather than separate software projects. The examples below show some of the possibilities and can be copied and adapted to other subjects.
| Possibility | What it can add to the material | Examples |
|---|---|---|
| Explore prepared data and visualizations | Learners can zoom, select observations, inspect values, and explore relationships in results that have already been prepared. | Jupyter Widgets, Observable JS, and Marimo data exploration |
| Change inputs and see results update | Controls can help learners build intuition by showing immediately how parameters and assumptions affect a result. | Shiny, basic reactive Python, numerical integration, and chemical reactions |
| Write and execute code in the browser | Learners can experiment without first configuring a local programming environment. | JupyterLite and the collection of Marimo / Reactive Python examples |
| Inspect specialized scientific objects | Interactive scientific viewers can reveal structure and detail that are difficult to communicate with a still image. | Mol* protein structures |
| Make explanations visual and dynamic | Diagrams, animations, and custom interactive figures can help explain processes, transformations, and sequences. | D3.js, Diagrams, Manim animations, and Reveal.js slides |
| Combine several elements in richer teaching material | A single page can bring together executable analysis, diagrams, parameter controls, and explanatory text. | Evaluating fits |
There is no need to make an entire course interactive at once. Start by adding one element where exploration or immediate feedback would strengthen an explanation, and expand it later if it proves useful.