Diverted

I was meant to be doing more on JavaScript this evening- which I did for a bit- until I developed the irrational notion that I had to jazz up my clock project beyond the bit I copied  learned from the book. So, behold the wonderous borders. Be amazed at the use of a box shadow and blinded by central alignment of my text here. It took me 2 bloody hours of going round in circles losing my alignments and chasing the rectangles around. It won’t win any design awards but it’s as done as I can think to make it right now. I did also learn about wrappers/containers and how to overlap text on a shape so it was a good exercise in itself. However. No more excuses and back to DOMs tomorrow.

A little extra homework

First off, thanks very much to my new friend, Codeinfig, for helping me to understand the problem I was having regarding the function of [i] in the example array. If you want to see his (presumably, although not necessarily?) explanation, check out my previous post and look in the comments section.

I’m obviously not ready to carry on with Free Code Camp’s JavaScript unit until I have a better grasp. So I’m circling back on myself (like ‘ spiral learning’ if you’re a teacher) so I have a better grounding before I get back on the horse.

I’m using ‘Sams Teach Yourself HTML, CSS and JavaScript’ (second edition). I’d found a copy in my local library and found it so good I bought a copy off ebay.  I’ve just finished chapter 4- Understanding JavaScript where it gets you to build a very, very basic clock.  I’m now looking at chapter 14 which is Getting Started with JavaScript Programming. Upto Chapter 18 seems to run parallel or a little ahead of where I am/was with FCC. So, presuming one chapter a day with Mondays being an enforced rest day due to other commitments, I ought to be back with FCC in a week. Allons-y!