馃殌 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 馃挭

Task #154 - Starts with

Implement a function startsWith(start). It should accept a single parameter start and return a function that takes a string s and checks if s starts with start. start is a string that consists of one or more characters...

August 15, 2020 路 1 min 路 Coderslang Master

Task #160 - Delayed Log

Implement the function delayedLog(s, n). It should print the string s to the console after n seconds. 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 #163 - Progress is tough

Fix the function startProgressBar Expected behavior: The function should display the progress bar on the screen and move it forward each delay ms. The interval should be cleared once the progress bar is full....

August 15, 2020 路 1 min 路 Coderslang Master

Task #165 - Easy timeout

Implement the function setEasyTimout(func, time). It should execute the function func after the specific amount of time. time - is an object with hours, minutes, seconds. Examples in solution.js. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 路 1 min 路 Coderslang Master

Task #166 - The countdown

Implement the function startCountdown(n) using setInterval. It should print to the console all number from n to 1 and then the string GO!. The delay between calls to the console.log should be 0....

August 15, 2020 路 1 min 路 Coderslang Master

Task #171 - Fix an arrow function

Fix the function sum is helper.js. When imported into solution.js it should return the sum of two numbers Don鈥檛 use curly braces and return statement This task is part of the Full-Stack JavaScript Course...

August 15, 2020 路 1 min 路 Coderslang Master

Task #173 - Fix test data

Fix the function getTestData is helper.js. It should return the object {name: 'Jane', age: 22} without using the return keyword. This task is part of the Full-Stack JavaScript Course...

August 15, 2020 路 1 min 路 Coderslang Master

Task #177 - Is of age?

Implement the function isOfAge in helper.js. It should accept the users age and return false, if it鈥檚 less than 21, otherwise - true. You can鈥檛 use if, switch or ternary operator...

August 15, 2020 路 1 min 路 Coderslang Master

Task #182 - Print array elements

The function printArrayElements should use console.log to print out all the array elements to the screen. But it doesn鈥檛 work as expected. For some reason only the indices and not the elements are printed....

August 15, 2020 路 1 min 路 Coderslang Master

Task #183 - Early return

The function find return the index of the element in the array or -1 if it鈥檚 not found. The only issue is that it鈥檚 suboptimal. Improve the code and return the index of the element as soon as it鈥檚 found in the array....

August 15, 2020 路 1 min 路 Coderslang Master