Carabiners and climbing gear in a pile on a grey rock-like surface.Carabiners and climbing gear in a pile on a grey rock-like surface.

13 Functions Part 3

This is part 3 of a series on functions. When I was first starting to learn web development, there were some aspects of functions that were…

Coffee beans arranged into a square with four quadrants. Each quadrant has a different color roast.Coffee beans arranged into a square with four quadrants. Each quadrant has a different color roast.

12 Functions Part 2

In Part 0 of this series , I started by saying that functions encapsulate behaviors of a program. Then in Part 1 , I described how to…

A worksheet of multiplication problems with a yellow pencil on top.A worksheet of multiplication problems with a yellow pencil on top.

11 Factorial Function

The other day, a colleague said that he'd recently had an interview where they asked him to write a factorial function. A factorial is what…

A tall glass of iced coffee with milk swirling in the glass.A tall glass of iced coffee with milk swirling in the glass.

10 Functions Part 1

In the last post about functions , I used the analogy of buying coffee from a store to demonstrate: functions as behaviors of a program…

A cup of black coffee in a ceramic mug seen from the top on a cream colored background.A cup of black coffee in a ceramic mug seen from the top on a cream colored background.

9 Functions Part 0

Confusion When I first started learning programming, functions were super confusing to me. There seemed to be so many different kinds…

A rusty green metal gate secured with an old metal chain and bronze padlockA rusty green metal gate secured with an old metal chain and bronze padlock

8 Learn to SSH

Recently I bought a raspberry pi to experiment with. I want to try things like: running a simple server experimenting with different…

A silver telescope on top of a tripod aimed out a large plate glass windowA silver telescope on top of a tripod aimed out a large plate glass window

7 Scope

Before I start, just a quick note. All the code examples will be in javascript. That way they can be tried quickly and easily in the browser…

The number zero painted in black on a ceramic tile hung on a wooden wallThe number zero painted in black on a ceramic tile hung on a wooden wall

6 Programming Concepts Part 0

When I first started learning programming, there were quite a few basic concepts that I struggled with over and over. Now that I've been…

Many antique maps in a pileMany antique maps in a pile

5 Building a Wordpress HTML Sitemap Plugin

This is going to be a two part post on building an HTML sitemap plugin for Wordpress. If you know about building Wordpress plugins and…

Category: wordpress

Black and white analog clock to represent the time saved by using these shortcutsBlack and white analog clock to represent the time saved by using these shortcuts

4 Quick Aliases for git

The other day at work I got ridiculously tired of typing out git commands in the terminal. I'd been updating our repos all day and was…

Screenshot of a graphql query from this blogScreenshot of a graphql query from this blog

3 Using Tags and Categories in Gatsby.js

I started this site by following the great tutorials and documentation on the Gatsby JS site a while ago. But, one of the things I…

A laptop keyboard overlaid with a rainbow colored filterA laptop keyboard overlaid with a rainbow colored filter

2 Backwards and Forwards (or  —  Palindrome checker)

Building on the techniques used in the last post, I’m going to write a simple function that checks to see if a given word is a palindrome or…

A red fox standing on snow and looking at the photographerA red fox standing on snow and looking at the photographer

1 THE qck brn FOX!

In this post, I’m going to show how to change a string (in this case a sentence) using JavaScript string and array methods. Today's…