DEV Community

Zachary Stone
Zachary Stone

Posted on

1

Birthstone challenge with loops

A really simple challenge. But it was still fun to do. You don't have to have massive challenges to overcome, sometimes a quick 15 min thing you throw together is fun to exercise your mind with. I threw this together while helping a student on the problem. I wanted to see if I could do it and what my thought process would be. Don't be afraid of overcoming mole hills. Too many times I don't do challenges because I can't climb Everest!

Comment below how I could clean this up and make it simpler! All while keeping the for loops. (It's part of the warmups for loops.)

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay