OUR BLOG

Odd or Even? – Codewars

Odd or Even? – Codewars

Today I completed the "Odd or even?" kata on Codewars! I began with a for loop to run through the contents of a provided array and sum their total. Then I used the modulo operator to check if the total value was even, and return the corresponding value. Here is the...

Remove the exclamation marks – Codewars

Remove the exclamation marks – Codewars

Yesterday I completed the "Remove the exclamation marks" kata on Codewars! I began with a for loop to iterate through the string. If the iterated character is an "!", it would be replaced with a blank string. Here is the final code!

Bug Zero Icon

OUR NEWSLETTER