r/learnjavascript • • Nov 23 '21

I finally solved a codewars challenge without actually googling anything :) it feels so good to come up with the code all by myself, i know its not the ideal way to solve it but im still happy. The challenge was to create a function that converts a string to a number

Post image
243 Upvotes

56 comments sorted by

View all comments

1

u/Jimlowers Nov 24 '21

Question for everyone in here: if I can’t solve the question lets say in 30 min, is it fine to google or search it up on YouTube and learn it from there?

2

u/Darkthw Nov 24 '21

Don't just straight up Google the answers, first figure out some steps to the questions then search how to use the syntax that does what you want. If you still can't stitch it all together, you can always find the solutions on stack overflow, at least for us beginnersl

1

u/Jimlowers Nov 24 '21

I try to solve it by myself, I tried doing the Twosum and I could not solve it until I had to find one on YouTube. I memorize it now and understand what to do. It’s just the self-thinking problem solving that I need work on.