3. Changing a Variable's Value

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/learn-javascript/lessons/variables/exercises/change-a-variable

<In what way does your code behave incorrectly? Include ALL error messages.>
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?

<What do you expect to happen instead?>

```js

var morningAlarm = ‘6:30AM’;
morningAlarm = ‘0:30AM’;

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

<do not remove the three backticks above>

HI this line

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

it’s missing the : after to in the string

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?

Hi

Is that the lesson you’re doing?

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

Is that the course marked ‘preview’?

Here a link to it Introduction to JavaScript

1 Like

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

1 Like

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