by BugZeroCodes | Jan 26, 2021 | Blog
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.
by BugZeroCodes | Jan 19, 2021 | Blog
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.
by BugZeroCodes | Jan 13, 2021 | Blog
Two days ago, I completed a Factorial Kata on Codewars!
It went well until I got stuck. As I was looking for the problem, I realized that the code to throw an error only checked if the number was negative, whereas it also had to check if the number was greater than 12. Realizing this, I went back, rewrote the code, and saw that it worked!
by BugZeroCodes | Jan 11, 2021 | Blog
Today Timothy Amadi completed the Factorial kata on Codewars!
He used Javascript to write the code that made it work!
by BugZeroCodes | Jan 7, 2021 | Blog
Today was Wacky Wednesday at school. Everyone dressed as “wacky” and odd as possible. It was a very interesting day!!
(Today is also Eugene’s birthday!)
Recent Comments