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!

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) 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,500 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 : )