Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser
Learn

When you inject JavaScript into JSX, that JavaScript is part of the same environment as the rest of the JavaScript in your file.

That means that you can access variables while inside of a JSX expression, even if those variables were declared on the outside.

// Declare a variable: var name = 'Gerdo'; // Access your variable // from inside of a JSX expression: var greeting = <p>Hello, {name}!</p>;
Report a Bug
If you see a bug or any other issue with this page, please report it here.