Recommended and mentioned products
a non-linear personal web notebook
Check out H5P, it looks like it is designed for interactive online course work. https://h5p.org/.
Twine is an open-source tool for telling interactive, nonlinear stories.
Inkle or Twine probably cover what you want to do.