DEV Community

amberchisholm
amberchisholm

Posted on

Day 12(?) Learning Javascript

Confession: I was working on an Advanced Control Flow exercise involving Ternary Operators and the Switch function, and got stuck. Grrrr!

I typed my solution code, looked at it, and deleted it. Then tried again. I looked up a few resources on Ternary and Switch functions (Stack Overflow, YouTube vids, etc), typed my solution again, looked at it...then deleted it.

It was only when I finally looked at the instructor's solution and realized I was correct with my FIRST solution that I wanted to kick myself.

Lessoned Learned: I need to just trust myself and not overthink these things.

Top comments (0)