Me and my bro only


#1

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

var strength = '50,000 pounds';
var myAge = 15;
var hasPet = true;
console.log('How much stuff can a variable hold?',strength);
console.log(myAge);
console.log(hasPet);


Create a variable - Exercise (2/6) - It says 'the test returned an error. Maybe you have a syntax error, or a typo'
#2

There is no limit. A variable is just a street address, in a sense. How big can a house be? Or an apartment building? Or an office tower? No matter how big it is, it still has the one address.

A variable is a reference to a value or object. Memory is the container, and the starting address of the data (the header) is all the variable needs to store.


#3

it keeps on saying error i just don't get what's wrong. and P.S this is for me and my brother only. sorry :disappointed_relieved:


#4

Could you post a link to the exercise, and the error message. Please and thanks.

Edit: added link to opening post.


#5

this is my code i'm very stuck
var strength = '50,000 pounds';
var myAge = 15;
var hasPet = true;
console.log('How much stuff can a variable hold?',strength);
console.log(myAge);
console.log(hasPet);
@minecraftmaster02


#6

ops sorry bout that very sorry


#7

and change the myStrength to just strength


#8

what are you sorry for about?


#9

saying your name :sob:


#10

does your name start with a J @minecraftmaster02


#11

why do you want know?


#12

but am i wright ? hahahahahahahahaha :joy:


#13

oh and just cause i wondering


#14

this is a forum stop this and people will try to help


#15

What error message you have after you updated the code?


#16

OH WRIGHT sorry everybody bout that


#17

Yes what message are you getting


#18

a typo or something about that


#19

Oops! The test returned an error. Maybe you have a syntax error, or a typo.

i don't know what i'm doing wrong


#20

You should refresh browser, or try to use "Reset Code" button (please, copy yuor code before). Also string should be the same as instruction says. So, try it and let us know about result.