Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript React Basics First Steps in React Create a React Element

Can't seem to get anything to display on server page.

Hi, I am trying to code along in the provided workspace. However when I tried this initial console.log(title), this error meaage appears..

"Uncaught TypeError: React.createElemenet is not a function at app.js:1"

I am using React for a separate tutorial project in my VS code so I want to just use the workspace provided. I have everything installed so I am not sure what is causing the issue, The address the workspace brings me to is as follows.. 'http://port-80-9ldzji7gju.treehouse-app.com/'

I am not sure if this is correct? I appreciate if somebody can help with this.


1 Answer

Cory Harkins
Cory Harkins
16,486 Points

Hi Mark! Looking at the error, it looks as though you have a typo is your method call. Elemenet, I hope changing that to Element will clear up any errors you have! Happy coding!

Thanks Cory, I spotted this immediately after posting and totally forgot to update the post. Thank you for the input : )