Skip to main content

Command Palette

Search for a command to run...

June 29 Codewar

Published
1 min read
A

Mom of two munchkins and a crochet enthusiast. Mexican-American. Navigating through the tech world. Learning new things every day. Taking it one day at a time.

I'm back! I have been doing codewars every day for the past few days. However, I have not been blogging them because I've been sick since last Thursday!

I haven't been to work since I don't want to make anyone feel uncomfortable. Not to mention I have no energy from the lack of sleep at night. It's been a rough week!

Here is a small codewar to get me feeling good that I know code hahahahaha.

Problem: Return the first character from the string which will always be an integer.

unction getAge(inputString){
    return parseInt(inputString[0])
    }

It passed. I have a few more points for me to reach level 6kyu. Although I don't feel like I should be on level 6 I will take it! I will continue to do all of the 8kyu level codewars. I have like 120 left hahaha.