JS Challenge 7: Multiples of 3 or 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

7

Improve your JavaScript by testing your skills with these guided challenges

JS Challenge 7: Multiples of 3 or 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

JS Challenge 6: Convert string to camel case

Complete the method/function so that it converts dash/underscore delimited words into camel casing.

JS Challenge 5: Pete the baker

Write a function cakes(), which takes the recipe (object) and the available ingredients (also an object) and returns the maximum number of cakes Pete can bake (integer).

JS Challenge 4: Who Likes it?

Implement a function likes :: [String] -> String, which must take in input array, containing the names of people who like an item. It must return the display text as shown in the examples.

JS Challenge 3: Remove Zeroes

Write a function that takes an array of values and moves all elements that are zero to the end of the array, otherwise preserving the order of the array. The zero elements must also maintain the order in which they occurred.

JS Challenge 2: Word Scrambles

Complete the function scramble(str1, str2) that returns true if a portion of str1 characters can be rearranged to match str2, otherwise returns false.

Page **1** of **2**