Beginner – Lost Without a Map

Beginner – Lost Without a Map

Today I completed the Beginner – Lost Without a Map Kata on Codewars!

When I was coding the solution, I thought I could mutate the array and solve it then and there. It turned out I was supposed to do it without mutating, so I looked up maps. Then I wrote a function for the “map”, and the code worked!

Skilllsets

Improving your typing skill is so important in the digital world for kids learning online in class, taking notes, at your job, and many more.

Don’t forget to encourage a kid to improve their skill set by working on increasing their speed.

#kidswhocode #skillsets #changeinthecommunity

Friend or Foe? Kata – Codewars

Today I completed the Friend or Foe? Kata on Codewars!
 
It was simple to make a loop to run through each name in the array. All I had to do afterward was to check if the length of the name is equal to 4 and if so, to add it to the “mini-array.” After that, the “mini-array” was printed.

Incorrect division method Kata – Codewars

Today I completed the ‘Incorrect division method’ Kata on Codewars!

The buggy code was caused by the absence of one of the variables. I divided X by the missing variable Y and the code worked!

Check your code to make sure all the variables you intend to use are being used.

Super Duper Easy Kata – Codewars

Today I completed the Super Duper Easy Kata on Codewars!

It was difficult to figure out how to check if the parameter was a string. I looked it up and found a method called typeof that returns what type the value is. So I wrote a condition to check if the parameter was a string and return the word “Error” if so. And it worked!

Never give up. Look for help with your problems.

Grasshopper Kata – Codewars

Grasshopper Kata – Codewars

Today I completed the Grasshopper – Debug Kata on Codewars!

When I looked at the code and instructions, I could find errors all over the code. I read the instructions and after a few tests, managed to make the code work!

Don’t give up because the code isn’t working. Look through it for hidden bugs.

Bug Zero Icon

OUR NEWSLETTER