Lesson kinds
Every Libre Academy lesson is one of four shapes. Each one rewards differently; the totals add up to your level.
Reading
Markdown prose with syntax-highlighted code blocks, callouts (Note / Tip / Warning / Example), inline glossary popovers, and an optional “You’ll learn” objectives card at the top. Reading lessons grant 5 XP on completion.
Exercise
Split-pane: prose on the left, a Monaco editor + console on the right. The editor opens with starter code; hidden tests grade your pass/fail when you click Run. Hints reveal progressively. The Solution button shows the reference answer if you give up. 20 XP.
Quiz
A small batch of multiple-choice and short-answer questions with inline explanations after you commit. Used for checkpoint comprehension between dense chapters. 10 XP.
Mixed
A reading lesson with an exercise tucked at the end — when the prose and the practice are tightly coupled. 20 XP.
Streaks + XP
XP rolls up to levels via a triangular curve: level N requires
N × (N + 1) / 2 × 10 cumulative XP. Streaks are calendar-day
counters with a one-day grace window — miss two days and the streak
resets. Take the weekend off; pick up Monday; streak intact.
The streak fire and XP bar live in the sidebar. They never gate content — every lesson is unlocked from the start.