createVariable.js


#1


https://www.codecademy.com/courses/learn-javascript/lessons/variables/exercises/create-a-variable?action=resume


Did you set the strength variable equal to a string?
Did you set the variable strength to a string of '50,000 pounds'?


var myStrength = '50 000 pounds';
console.log(myStrength);


#2

Hi @cojack420,

Here is your problem:

console.log(myStrength);

the reason why it's a problem? Take a look at the instructions:

Now, under the strength variable, type

console.log('How much stuff can a variable hold? ', strength);

Now we know: What can a variable hold? Just about anything!

You need to enter the string exactly as is requested.


#3

Thank you for your help. Never considered that.


#4