Lessons
An introduction to writing Lua
Lua · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
print and chunks
The smallest Lua program.

Lesson 2
Variables and nil
Local vs global.

Lesson 3
Numbers and strings
Two core types.

Lesson 4
Tables intro
The one data structure.

Lesson 5
if and comparisons
Branches.

Lesson 6
while and for
Loops.

Lesson 7
functions
First-class values.

Lesson 8
pairs and ipairs
Iterate tables.

Lesson 9
require basics
Modules.

Lesson 10
A small chunk
Table + function.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.