JSX: Writing UI in JavaScript
JSX from the ground up: its rules, curly braces, what it can render, styles and classes, converting HTML, and the plain objects it turns into.
Every React component you will ever write returns JSX: the HTML-like code inside your JavaScript. This phase teaches it properly, so it never surprises you. You'll learn what JSX really is, the handful of rules that make it different from HTML, how to put any JavaScript value inside it with curly braces, and exactly what React does with strings, numbers, arrays, null, true and 0.
Then you'll style elements with style objects and class names, convert real HTML (forms, entities, comments, SVG icons) into JSX, and finally open the box: you'll see the jsx() calls the compiler writes, the plain objects they return, and why React marks those objects with a secret Symbol that JSON can't fake.
Every example runs real React 19 in your browser. Most of them print to the console, so you can check your predictions line by line.
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.