19 Jul 2018

Code Companion #9: DOM Manipulation

In this tutorial we're going to begin making our programs a bit more web-like. Up until this point we've been writing JavaScript and logging the results of our programs to a terminal or browser console using console.log(). Now we're going to begin working with HTML to add some interactivity to our programs with a UI.

11 Jul 2018

Code Companion #8: Embrace the Suck

Learning a new skill is difficult. It’s easy to give up and it’s easy to beat yourself up. So this week and I want to take a quick break from coding to offer you some words of encouragement. Hopefully this will help you solidify your drive to learn how to program.

04 Jul 2018

Code Companion #7: Automated Testing

In this tutorial we're going to take a look at automated testing. Automated testing is a way for us to automate the testing of our code—something we've been doing manually up until this point. We’ll be taking a test-driven development (TDD) approach meaning we’ll write our tests first. These tests will initially be failing (referred to as red in TDD) because the actual code hasn’t been written yet. Then we’ll write the code, run the test again, and (hopefully) verify that our tests are passing (referred to as green in TDD).

20 Jun 2018

Code Companion #5: Functions

Up until this point we've been calling functions (also referred to as methods) like console.log() and .charAt(). In this tutorial we're going to switch from calling functions to writing them as well.

15 Jun 2018

WTF is Code Companion?

When I first started learning how to program I remember taking a lot of time to research my sources before I started. I would ask myself questions like: Who is this person? Do they have a resume with credible experience and projects? Do other people enjoy this person's tutorials? What is their teaching style? How are they different from other teachers? Are they committed to this project or will these tutorials stop coming in a month? So to help you I'm going to answer these questions for you upfront.

26 May 2018

Code Companion #1: What is Web Development?

I'll never forget the overwhelming feeling when I first started learning web development. There were terms I'd never heard of, multiple programming languages, front-end development, back-end development, and web frameworks. In this tutorial we're going to clarify web development terms such as HTML, CSS, JavaScript, server-side programming, client-side programming, databases, JSON, and so on to give you a grasp of how everything fits together at a high level.