console.log('Morning alarm is set to: morningAlarm');
when the quotes are used, the code will read it as a sentence, it wont do the command. If you want it to read your variable, if you put the variable outside, and then add the quote - - it will work
console.log('Morning alarm is set to:' + morningAlarm)
kinda like if you type
it won't read the second one.