Skip to content

Prototype of Tutorial Component

Compare
Choose a tag to compare
@milafrerichs milafrerichs released this 18 Jun 07:56
· 89 commits to master since this release
4762da2

Basic version that can be used but is not styled yet.

Chapters

The content for the tutorial component is added via chapters. Each Chapter has the following format:

{
  content: '# Markdown content',
  code: 'initial javascript code visible to the user',
  solution: 'solution code will be shown when you click show solution'
}

Code editing

Users can edit the code and see the results right away