About Code Life
Code Life is a free app and website for learning to code with short, interactive lessons. It teaches four subjects from zero: Python, JavaScript, HTML & CSS (the Web course) and SQL.
How the courses are built
Each course is split into units, and each unit into chapters. A chapter focuses on one or two ideas: a short explanation, examples you can run and change, then exercises — multiple choice, fill-in-the-blanks, matching pairs and coding challenges. Hints help when you are stuck but never give the answer away, so you always find it yourself.
Every chapter also has a lesson page that gathers its full text, so you can read or revisit it without doing the exercises.
Why Codémon?
An example is easier to remember when it talks about something concrete. In Code Life, variables, lists and tables are filled with Codémon, little creatures such as Aquachu, Pyrochu and Florachu. Finishing chapters earns XP, keeps your daily streak going and gives you coins to hatch Codémon eggs and complete your Codédex.
The courses
Python
16 units · 100 chapters · 1056 exercises
The best first language: variables, conditions, loops, lists, dictionaries and functions, all the way to files, errors and classes.
JavaScript
23 units · 162 chapters · 1737 exercises
The language of the web, from console.log() to modern JavaScript: arrays, objects, arrow functions, map() and filter(), closures, JSON and classes.
Web
8 units · 30 chapters · 421 exercises
Build real pages with HTML and CSS: structure, links and images, colors and spacing, selectors, the box model and Flexbox.
SQL
19 units · 86 chapters · 920 exercises
Query real tables in your browser: SELECT, filters, GROUP BY, joins, subqueries, CTEs and window functions.
Who makes Code Life
Code Life is made by Pierre Marsaa, who appears in the app as Prof. Pi. The courses keep growing: new units are added regularly, and lessons are corrected when learners report a mistake, which you can do directly from any exercise.
Contact
A question, an idea, or a mistake in a lesson? Write to pierre.codelife@gmail.com.
Join the Code Life community on Discord, or follow along on Instagram, TikTok, YouTube and LinkedIn: Discord · Instagram · TikTok · YouTube · LinkedIn