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 JavaScript Basics Storing and Tracking Information with Variables Change the Value in a Variable

Uncaught ReferenceError: Message is not defined

there is no output i am follow all instruction but all time error

var message= "Hello!"; console.log(Message);

var score = 0; score +=10; score +=5; console.log=(score);

no output is my side or problem for the code

1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there, Engr Faisal Ali! The problem here is capitalization. When learning to program, it's a good idea to assume that everything is case-sensitive. This is definitely true for variable names and function names, but can also be true for file and folder names.

You wrote:

var message= "Hello!"; 

But you meant to write:

var message= "Hello!";
console.log(message);  // note the lowercase "m"

Hope this helps! :sparkles: