diff --git a/exercises.js b/exercises.js index ed04f93..dbd4fe8 100644 --- a/exercises.js +++ b/exercises.js @@ -57,7 +57,6 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true */ - /* * #4 * Function - mustBeTrue @@ -71,7 +70,6 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true */ - /* * #5 * Function - bigBird @@ -80,12 +78,11 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * @param Datatype: String `word` * @return Datatype: String * - * The function will return the message "Word to Big Bird!", if the string passed into the function is a three-letter word. + * The function will return the message "Word to Big Bird!", if the string passed into the function is a three-letter word. * Console.log your result. */ - /* * #6 * Function - isEqual @@ -95,7 +92,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * @param Datatype: String `second` * @return Datatype: String * - * If the strings are equal, the function will return the message "You look mahvelous!" Otherwise, return the message: "I don't know who you are anymore." + * If the strings are equal, the function will return the message "You look mahvelous!" Otherwise, return the message: "I don't know who you are anymore." * Console.log your result. */ @@ -109,7 +106,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * @param Datatype: String `second` * @return Datatype: String * - * If the strings are not equal, the function will return the message "Opposites do attract." Otherwise, return the message: "Cause it's like you're my mirror." + * If the strings are not equal, the function will return the message "Opposites do attract." Otherwise, return the message: "Cause it's like you're my mirror." * Console.log your result. */ @@ -124,8 +121,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * * The function will return true if the number passed into the function is greater than 100, otherwise it will return false. * Console.log your result. -*/ - +*/ /* @@ -140,8 +136,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * * The function will return true if the sum of all the number values is greater than 30, otherwise it will return false. * Console.log your result. -*/ - +*/ /* @@ -154,8 +149,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * * The function will return true if the number passed in is an even integer, otherwise it will return false. * Console.log your result. -*/ - +*/ @@ -170,7 +164,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * * If BOTH values are 21 or over, the function will return the message: "Welcome to the Legends Lounge." Otherwise, it will return the message: "Chuck E Cheese is across the street." * Console.log your result. -*/ +*/ /* @@ -184,7 +178,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * * If EITHER the number value is greater than or equal to 120 or the boolean value is true, then the function will return the message: "Congratulations on a job well done." Otherwise, return the message: "See you in summer school." * Console.log your result. -*/ +*/ @@ -198,7 +192,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * * The function will return the message: "You are riding Honolulu's Rail.", if the number value is less than 50, otherwise it will return the message: "You are riding an Amtrak.", if the number value is less than 100, and return the message: "Now you ballin' in the Shinkansen!", if the number value is greater than or equal to 100. * Console.log your result. -*/ +*/ /* @@ -213,7 +207,7 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true * Console.log budget and doughnutBought. * Invoke your function again. * Console.log budget and doughnutBought again. -*/ + /*Final Boss*/ /*Create a function name dailySpecials which takes in a parameter: `special`. @@ -238,9 +232,9 @@ for (var i = 0; i