Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Basics (2018) Thinking in Components Composing Components

Do we use a comma?

Are we supposed to use a comma between the Header and the Player tag? VS code did not throw an error when I did this. I am assuming it works both ways but is it common practice not to use one?

1 Answer

Hey Paul, no need to use a comma here. The structure here remains largely the same as it would when writing standard HTML.