Category: Free Code Camp

Free Code Camp Bonfire: Falsy Bouncer

jackLyons Free Code Camp Tags:
2

This Free Code Camp bonfire is supppppper simple. Finally, it’s nice to get a break for once and solve a problem with only a single line of code! In this Falsy Bouncer bonfire all we need to do is remove all the falsy values from an array. Falsy values in javascript are false, null, 0, “”, undefined, and NaN.

(more…)

Free Code Camp Bonfire: Mutations

jackLyons Free Code Camp Tags:
0

In this Free Code Camp bonfire you will learn how to find specific words/letters in a string and check back to see if it was in the original string. I’m sure something like this would be quite helpful when sifting through ton’s of data on a page. Here’s how I solved the problem:

(more…)

Sign up to receive up-to-date web tips, tricks and code hacks!