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

I have checked over my code a few times and I just get "Loading..."

I get a console error that reads "Application is not defined" but I see no syntax errors.

Here is the code:

function Application(){
  return (
    <div>
      <h1>Hello from React!</h1>
      <p>I was rendered from the Application Component.</p>
    </div>
  );
}

ReactDOM.render(<Applicaton />, document.getElementById('container'));

Am I missing something?

1 Answer

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

Hi there! It seems you have a typo.

You've written:

ReactDOM.render(<Applicaton />, document.getElementById('container'));

That should be:

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

Note the additional "i" in Application in the second version. Good luck! :sparkles: