JavaScript Practice Tests
Improve your JavaScript skills with interactive coding challenges
Available Challenges
Task 1: Book Sorting
Create a function that sorts books by page count in ascending order.
Task 2: Find the Amount of Pineapples
Create a function to return the amount of pineapples there are in a string.
Task 3: Spy Code
Can You Read the Spy Code?
Task 4: Less Than 99
NEWGiven two numbers, return true if the sum of both numbers is less than 99. Otherwise return false.
Task 5: Find the Smallest and Biggest Numbers
NEWCreate a function that takes an array of numbers and return both the minimum and maximum numbers, in that order.
Task 6: How Many Consonants?
NEWCreate a function that takes a string and returns the number (count) of consonants contained within it.