Key Concepts

Review core concepts you need to learn to master this subject

Nested JSX elements

const myClasses = ( <a href="https://www.codecademy.com"> <h1> Sign Up! </h1> </a> );

In order for the code to compile, a JSX expression must have exactly one outermost element. In the below block of code the <a> tag is the outermost element.

Intro to JSX
Lesson 1 of 2

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo