Why do we care about variables?


#1


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

I don't know what's wrong ?


var morningAlarm='6:30AM';
morningAlarm="8:00AM";
console.log("morning alarm is set to:", morningAlarm);


#2

The lesson checker may be looking for:

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

#3

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