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 (retired) First Steps in React Our First Application

Colin Birdwell
Colin Birdwell
9,733 Points

I can't see anything other than loading. Am I missing something? I'm running this just straight from the Workspace.

It never renders anything other than "Loading..." Running off of Google Chrome and Adblocked whitelisted URL. The console is giving me "Uncaught ReferenceError: ReactDom" is not defined.

function Application(){ return( <div> <h1>Hello</h1> <p>Something</p> </div> ); }

ReactDom.render(<Application />, document.getElementById('container'));

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! I originally posted an answer which I've since deleted that suggested you see the console for error. But now I see that you did. The problem here is capitalization. The ReactDom.render should be ReactDOM.render. Note the capitalization on DOM.

Good luck! :sparkles:

Colin Birdwell
Colin Birdwell
9,733 Points

Yep that did it. Thank you.

And thank you