CodeLab

Learn by reading real code

Examples and small projects from our lessons. Read the explanation, copy or download the code, run front-end examples live, and experiment in the Playground.

8Examples
2Projects
6Languages
6Live previews

Results 1

Beginner Live preview

Centre anything with Flexbox

The three lines of CSS that centre an element both ways.

CSS
16 lines View snippet
Hi there! đź‘‹ Have a question about the courses or joining the class? Ask me.