Learn JavaScript - 3/6 - Create a Variable II


Hello everyone, I am learning on codecademy and this is my code

var strength = '50,000 pounds';
var age = 20;
console.log (age);
console.log ('How much stuff can a variable hold?', strength);

2.Under your age variable, use console.log to print it to the console.
Put age within the parentheses of a console.log to print it to the console.

Omg, what's wrong ? When codecademy showed me something, I clicked to "Get code".. Code which I got doesn't work.. Course bug, or what ? :smiley: :smiley:
Thank you for help :slight_smile:


You have a space between log and (...) remove the space..


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.