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

In regular JavaScript, style names are written in hyphenated-lowercase:

var styles = { 'margin-top': "20px", 'background-color': "green" };

In React, those same names are instead written in camelCase:

var styles = { marginTop: "20px", backgroundColor: "green" };

This has zero effect on style property values, only on style property names.

Report a Bug
If you see a bug or any other issue with this page, please report it here.