Todays challenge is easy: we must write a function that takes in two arguments. We must check if the first string ends with the given second string. Let me illustrate with an example: end(“Gorka Hernandez”, […]
Tag: Solution
FCC Bonfire Series 108: Return Largest Numbers in Arrays
Arrays everywhere! Why?! Well, arrays are pretty useful actually. In any case, today’s exercise, largest numbers in arrays, will require some more array intricacies in order to write a function that takesĀ an array with several […]
FCC Bonfire Series 106: Find the Longest Word
Remember Array methods? Good! We’ll be using them again today. Today’s challenge, “Find the Longest Word” will have us write a function that takes a string and returns the length of the longest word in […]
FCC Bonfire Series 105: Check for Palindromes
Today, I bring you a new contender: Check for Palindromes. We must write a function that takes a string, be it a single word or full sentence, and should return true if said string is […]
FCC Bonfire Series 103: Reverse a String
I’m back with a new Free Code Camp Challenge today: reverse a string. This time, we must write a function that takes a string and returns it in… wait for it… …reverse order. There are […]