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! While you're at it, check out some resources Treehouse students have shared here.

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 React Components Review

Shlomi Bittan
Shlomi Bittan
6,718 Points

The answer is NOT <Scoreboard />????

What is the answer for this??

Can you please post your code so the community can take a look?

Shlomi Bittan
Shlomi Bittan
6,718 Points

Hi Elija, Please click the 'View Quiz' button (top right) and take a look at the question where you're asked: "Use a JSX tag to render a component named Scoreboard into the DOM."

Thanks

Yes, but I would like to see what your code looks like.

Shlomi Bittan
Shlomi Bittan
6,718 Points

This is my code:

ReactDOM.render(
  <Scoreboard />,
  document.getElementById('root')
);

Thanks

I copied and pasted your answer and it passes. Try refreshing the quiz and try again.

Shlomi Bittan
Shlomi Bittan
6,718 Points

Very strange.... I refreshed and still I'm told that the answer is wrong... well, never mind

1 Answer

Yuri Timochkin
Yuri Timochkin
7,139 Points

<Scoreboard></Scoreboard>, Try this, it's work. Just < <Scoreboard /> doesn't :(