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 trialColin Birdwell
9,733 PointsI 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
Treehouse TeacherHi 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!
Caroline olijve
Courses Plus Student 14,499 PointsAnd thank you
Colin Birdwell
9,733 PointsColin Birdwell
9,733 PointsYep that did it. Thank you.