Day 26 – 37 Finished Basic Javascript and Basic Algorithm Scripting

These two week I felt completely in love with coding … ! For 12 straight days, I’ve devoted some time of the day to Free Code Camp. The first week, I finished the basic javascript lessons.

Then the past week, I devoted time in the morning, after work, to tackle the basic algorithm scripting challenges one at a time. Most challenges took an hour to complete, some I was able to do in 20 min, but some could take 2 hours, even 3 …

And the more I got stuck, the more I learned how to get UNstuck. Usually it’s a simple thing that you just need to google about: how to count all the letters in a word? How to get the third letter of a word? How to combine two conditions in an “if” statement?

And a lot of times I got stuck making simple mistakes: coding if 65<i<90 instead of if i>65&&i<90 for example. Or making a for loop exit too quickly. And so on.

Sometimes I spent more than an hour staring at my code without realizing the most simple mistakes. But looking back I am glad I didn’t just google the answer. Because I really relish every moment of the trial-and-error process. And the mistake that I spent one hour staring at and overlooking? Turned out I would seldom make it again.

I originally planned to finish the Basic Algorithm challenges by the end of May. But since I met my goal 10 days in advance, now I’m excited to continue to JSON APIs and the intermediate front-end projects in May!

Coding my way through these challenges reminded me of the middle school days when I would sit in front of my desk cracking the math problems for hours. Oh I miss those days when I was in a complete creative problem-solving flow, and am so glad coding brings these precious moments back.

Day 18 – 25 Finished the Portfolio Page, and started Javascript

I haven’t blogged last week, but I’ve tried to spend a few hours here and there — a bit more consistently, and today, I finally finished the 10hr “Basic Javascript” session, and started “object-oriented programming”.

I’ve definitely been tempted by social media more than once – after all it’s only a new tab away. But last night (a sunday night), I’ve also resisted the temptation and coded for more than 2 hrs.

I was literally lost in problem-solving. I wanted to figure out the solution by myself so bad, I kept googling, staring at my codes, drawing out the logic …

It reminded me of my love for maths when I was in middle school. Just the pure joy of problem-solving.

Googling the answer might have been more efficient, but then that would’ve ruined the fun.

And after making more mistakes than I could have, I understood the right solution so much better.

Having a goal also helps – I want to finish “Basic Algorithm Scripting” by the end of May!