# TLDR

This is anecdotal advice on how I deal with failure.

1. Don’t put all your hope into one thing. If you decide this one thing is going to determine your happiness, you are doomed.
2. Remember that we all fail. …

# Why you can’t break a forEach loop in JavaScript

I recently had a coding interview that involved evaluating one schema against another. The details of it aren’t that important, but one thing that came out of it (in the middle of the interview) was that you can’t break out of a `forEach()` loop. I had forgotten that little tidbit…

# Sum square difference

This problem is fairly simple, however, it will allow us to explore our good friend recursion. We will use a combination of that and functional programming to solve this fella with relative ease…hopefully. Alright, enough yammering, let’s get to it!

# Discussion

The sum of the squares of the first ten natural…

# Problem 5: Smallest multiple

I am more excited to talk about this problem than any of the other problems so far. I am really happy with how it turned out and I think you will be too. Enough said, let’s solve this thing!

# Video Version

If you like to watch rather than read, check out the…

# Intro

Welcome to ByteSize JavaScript where we chew on manageable chunks of code. Today we’re going to be talking about recursion.

Recursion is one of those things that you see a lot when you’re learning about JS. The question is, do you understand what it is? If you don’t, I’m going…

# Largest Palindrome Product

Welcome to another edition of Jared rediscovers grade school math! Today we are tackling problem four of Project Euler. We are going to talk about Palindromes and for loops. Let’s get into it!

# Problem Discussion

A palindromic number reads the same both ways. …

# Largest Prime Factor

Today we’re going to tackle Project Euler problem number 3! We are going to learn all about primes and factors. This problem is fairly straight-forward, so we shouldn’t have to dig too deep into Wikipedia.

Checkout solution 2 here:

# Problem Discussion

The prime factors of 13195 are 5, 7, 13 and 29.

# Project Euler Problem 2 Solved with Javascript

Getting all the even Fibonacci numbers

Welcome to Round Two of Project Euler! This time we’re heading into the land of state management and that guy you’ve probably heard about: Fibonacci! I’m excited, are you excited?

Check out the solution for Problem 1 here:

# Video Version

If you like to watch rather…

# Project Euler: Problem 1 with Javascript

Multiples of 3 and 5

# Front Matter

Here we are, attempting the Dark Souls of coding challenges. We’ll start today with a fairly simple one: getting multiples of 3 and 5.

# Problem 1: Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6…

# Front Matter

Recently, I got a job that required me to debug a Squarespace site to see why it was loading so slow. I figured I’d share what I did to increase the load speed.

# Tools

I used Google’s built-in tool “Lighthouse”. …

## Jared Nutt

Freelance web developer living in Los Angeles. I write articles I wish I had when I was learning — mostly about Javascript and web development.

Get the Medium app