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.
Hi, can you explain me how it work xd? Im newbie :(
Hi, can you explain me how it work xd? Im newbie :(
Read again my first reply, you're still doing that wrong.
I backed to it after a while and I still cant pass atempt :( I dont know why :(
I forgot to return xD I just wasted an hour on that
Read this: https://docs.codewars.com/training/troubleshooting
This comment is hidden because it contains spoiler information about the solution
To decide what to do with a letter in the string, you need to check its index in the string. Your if condition is wrong and it's not related with what the problem asks. Your code also isn't doing this:
Start small, do one thing right at a time, and then add more code.
I think I'm amoeba it's still not working
You're using the charCode now, not the index.
Thank u <3 but it still don't want to pass random tests :(
Your alphabet isn't right and you're not doing this:
You're baseing the index in the alphabet, not in the string.
I think I did it right and test are fine but with random test it shows different answers... I checked it in other console and my answers are right for given parameters so why it shows me error ?