Skip to content

Contributing

Contributions are welcome.

How to add a lesson

  1. Pick a language folder in /lessons
  2. Create a new folder: your-lesson-name
  3. Follow the lesson format

Rules

  • Keep lessons focused (one main concept)
  • Make bad code realistic, not random
  • Provide a working solution
  • Keep naming clear

Folder structure

txt
lesson/
  README.md
  task.md
  hints.md
  explanation.md
  metadata.json
  bad/
  solution/
  tests/ (optional)

Using the lesson template

New lessons should start from the template:

bash
cp -r templates/lesson-template lessons/<language>/<lesson-name>

Every lesson should include:

  • README.md
  • task.md
  • hints.md
  • explanation.md
  • metadata.json
  • bad/
  • solution/

Tests are optional but encouraged.

Bad code, good lessons.