the author in silhouette
the author's cat in silhouette

Functions and Control Flow

This week we started looking at Functions and Control Flow. We had a brief introduction to scope and played around with some booleans.

In the class we performed the exercises by having a script in the main html which output to the console using console.log and then we reviewed the output via Dev Tools. To make viewing easier, I have used some simple javascript to display the output in previously empty paragraphs upon the click of a button.

We were set some simple tasks and they can be accessed on their own pages via the navbar.