diff --git a/exercises.js b/exercises.js index 7193e51..8e1cbfc 100644 --- a/exercises.js +++ b/exercises.js @@ -4,7 +4,7 @@ If statements - Evaluates (or checks) a condition. If the condition is true, any var today = new Date(); if(today === "Friday"){ - console.log("Let's Party!"); + return "Let's Party!"; }; /* @@ -12,9 +12,9 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true */ if(today === "Friday"){ - console.log("Let's Party!"); + return "Let's Party!"; }else{ - console.log("Get back to coding!"); + return "Get back to coding!"; };