3. Changing a Variable's Value


#1



https://www.codecademy.com/en/courses/learn-javascript/lessons/variables/exercises/change-a-variable


When I follow the 3rd instruction the log is printed as expected but the button for the next lesson isn't enabled.
Is there any problem with the code? or is it just a bug on the interface?


var morningAlarm = '6:30AM';
morningAlarm = '0:30AM';

console.log('Morning alarm is set to ' + morningAlarm);


#2

HI this line

console.log('Morning alarm is set to ' + morningAlarm);

it's missing the : after to in the string


#3

The closest I can find to your lesson is: JavaScript, Getting Started with Programming lesson 26. Change variable value. Is that the lesson you're doing?


#4

Hi

Is that the lesson you're doing?

He add a link on top of his post it's the new Javascript course


#5

Is that the course marked 'preview'?


#6

Here a link to it Introduction to JavaScript


#7

Thanks, I think lucaz' lesson is from this new course.


#8

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