Trying Out the Quiz Manager
Now let’s take our quiz manager for a spin.
We'll cover the following
Executing the quiz manager
In this section, we’re going to put the quiz through its paces. Part of writing good code is building the infrastructure to support learning and exploration. We’re going to create a trivial module to let new users and developers alike explore our features in the console.
Creating a quiz
Let’s create a simple math quiz with a mastery of two and a template for single-digit addition. We’ll create a new file, lib/mastery/examples/math.ex
, and fill it in. None of this code will be new to us:
Get hands-on with 1400+ tech skills courses.