Https://www.codecademy.com/courses/learn-javascript/lessons/variables/exercises/create-a-variable-ii?action=lesson_resume


#1

Complete newbie here not sure what im doing wrong here .
I thought I would need to declare the age first .
Thanks in advance !
https://www.codecademy.com/courses/learn-javascript/lessons/variables/exercises/create-a-variable-ii?action=lesson_resume


#2

difficult to say without your code, please copy paste your code to forum, ideally also include your error message


#3

Under the strength variable, create a new variable named age and set it equal to your age as a number.
So I did this. (sorry I thought it reflected in the link)

var strength = "50,000";
console.log("How much stuff can a variable hold",strength);
var age = "15";

#4

you set age a string, not as number

the link/url to exercise checks for the signed in user, then loads that users code. Clicking that link will just load my own code, not yours


#5

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