Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Awesome solution xD
This Kata doesn't make sense. We don't want to learn how to code to make predetermined things, but to take care of unpredictable ones. Don't lose your time with this Kata, really, you won't learn much to put in practice in real life.
This comment is hidden because it contains spoiler information about the solution
How can someone call a easier and with different focus a "duplicate kata"?! Not everyone knows how to make a whole code about converting multiples temperatures at the same time --' Stop thinking about only yourselves and consider the newbies that is trying programming and trying this platform as well.
Thank you for the tip! I really need to do some easy Katas 😅
Javascript. Since it asks to analyze a string, I thought that would be the solution, since I can't think of any other way to solve it right now. I'm still pretty new at programming, that's why.
Does this challenge need Regular Expressions or I can solve it without it? What is the expected way of doing it if both are possible?
So simply don't do it, duh. Leave it to the elementary students.
There are people out there that needs easy stuff like this.
The same is true for Javascript.
I see how these type of challenges can be benefitial, but I must agree, when I just want to practice my programming skills and not my math ones or necessarily learn new stuff at the moment, at least.
I actually liked it. There aren't many simple katas here, I struggled at my first days because even the ones tagged as "8 kyu" (I think it's a measure of difficulty?) were pretty hard for me, askinf for many things at once, and complicated things. For someone beginning to learn and applying logic, easy and simple tasks like this one is a must to exist, even if it's similar to existing ones.
What is that + sign doing in the beginning of the return value?
you can use ** to make exponencial math in Javascript, so simplifying the first two lines to just bmi = weight / height**2;.
By the way, you forgot to put ";" at the first return. Not that it wouldn't make it work, but code conssistency is an important thing 😁
This comment is hidden because it contains spoiler information about the solution
Loading more items...