CreatingVariables 3/6


#1

i Need help with excerise 3/6 creatingVariables
i keep getting error when i write my code like this

var strength = '50,000 pounds';
var myAge = 24;

console.log(myAge);

console.log(strength);


#2

Did you do step 3?

  1. Now, create another variable named hasPet, and set it equal to a boolean.
    Then, print it to the console with console.log

#3

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