🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

Task #124 - Greater than or equal

Implement the function gte in helper.js. It should accept 2 parameters (x, y) and return true if x is greater than or equal to y return false otherwise The function gte should not contain more than one if statement...

August 15, 2020 · 1 min · Coderslang Master

Task #125 - Body mass index

Implement the function getBMICategory(bmi) in helper.js. It should accept a single parameter bmi and return the string representation of the body mass index category based on the following rules: Underweight = 18....

August 15, 2020 · 1 min · Coderslang Master

Task #126 - All the same

Implement the function allTheSame in helper.js. It should accept 3 boolean parameters (x, y, z) and return true if x, y and z are the same (all true or all false) return false otherwise The function allTheSame should not contain more than one if statement...

August 15, 2020 · 1 min · Coderslang Master

Task #127 - One will do

Implement the function oneWillDo in helper.js. It should accept 3 boolean parameters (x, y, z) and return true, if at least one of them is true return false otherwise The function oneWillDo should NOT contain any if statements...

August 15, 2020 · 1 min · Coderslang Master

Task #130 - Fix the while loop

Fix the function myLoop to make sure it prints numbers from 0 to 99 to the screen using the “while” loop This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master

Task #131 - Print the array

Implement a function printArray that should take the array and print it to the screen using console.log Each element should be printed on the separate line This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master

Task #132 - Localization

Fix the function getLocale. It should return userConfig.locale if it’s found in knownLocales. Otherwise, it should return the string en. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master

Task #135 - Max element in the array

Implement a function maxElement that takes an array and returns its maximum element. This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...

August 15, 2020 · 1 min · Coderslang Master

Task #136 - Sum it up

Implement getTotal function in helper.js It should return the sum of all elements in the array. Array will only contain numbers. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master

Task #137 - Positive thinking

Implement positiveElements function in helper.js It should accept an array and return a new one that consists only of the positive elements from the original array. Original array shouldn’t be modified....

August 15, 2020 · 1 min · Coderslang Master