Learn to code

Short lessons, each with a playground beside it. Change the code and it runs as you type — in your browser, with nothing to install and nothing to sign up for.

HTML

2 lessons

Elements, nesting and what a browser makes of the text you write.

  1. 1Your first page
  2. 2Links, lists and images

CSS

2 lessons

Selectors, the box model and laying things out.

  1. 1Selectors
  2. 2Every element is a box

JavaScript

2 lessons

Values, functions and changing a page while it is open.

  1. 1Values and variables
  2. 2Functions and events

Markdown

2 lessons

The small syntax behind READMEs, docs and these lessons.

  1. 1The basics
  2. 2Code, quotes and tables

React

2 lessons

Building a page out of functions that return markup.

  1. 1Components and props
  2. 2State