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

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

Task #138 - Power it up

Implement a function pow in helper.js that takes two numbers and returns the first number raised to the power of second number. Examples: pow(2, 2) // 4 pow(2, 0) // 1...

August 15, 2020 · 1 min · Coderslang Master

Task #140 - Escape characters

Fix the constants to make sure that correct messages are logged to the screen. stringWithNewline should be printed on a single line and display \n on the screen inside of the stringWithQuotes each word should be wrapped in single quotes stringWithEmojis should display emojis properly in the beginning and the end This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master

Task #141 - Capitalize first word

Implement the function capitalizeFirstWord(s). It should accept a string, turn the first letter of its first word to uppercase and return the result. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 · 1 min · Coderslang Master