This course has been updated! We now recommend you take the Complete Intro to React, v8 course.

Check out a free preview of the full Building Web Apps (with React, Ampersand, ES6 and Webpack) course:
The "Label Colors" Lesson is part of the full, Building Web Apps (with React, Ampersand, ES6 and Webpack) course featured in this preview video. Here's what you'd learn in this lesson:

Henrik uses the color property returned for each label item to dynamically style the background color of a <span> element with the label’s color. He also explains why the double-bracket syntax is required when using object-notation in JSX.

Get Unlimited Access Now