Code & Keyword Links

Hover any word. The same idea lights up in both panels — click to pin it while you talk.

plan.txt
pseudo-code
1# average grade
2DEFINE average USING grades
3SET total = 0
4FOR EACH grade IN grades
5ADD grade TO total
6GIVE total / COUNT grades
7
8SAY average(90, 72, 88)
main.py
python
1# average grade
2def average(grades):
3total = 0
4for grade in grades:
5total += grade
6return total / len(grades)
7
8print(average([90, 72, 88]))

Concept links

SAY and print are one idea, so they highlight together. Same for FOR EACH / for, SET / =, GIVE / return and COUNT / len.

Name links

Every identifier links to itself. Hovering total traces the accumulator through both languages, every line it touches.

Line focus

Pass :focus="[5]" to dim everything else and rail the live line, gutter number included. State, not a loop — the slide holds still until you move it.

Focus example — line 5

1# average grade
2def average(grades):
3total = 0
4for grade in grades:
5total += grade
6return total / len(grades)
7
8print(average([90, 72, 88]))
59.1/60