Tag JavaScript

Building a Simple React Todo List and Timer

One of my goals for 2016 was to ship stuff, quite a few things in fact. We’re close to half-way through the year already, but I finally shipped a thing—a simple React todo list! GitHub—Project Page—GIF On Friday, I put…

Read More

Code Challenge: Simple Mode

Here’s another fun code challenge from Coderbyte: Using the JavaScript language, have the function SimpleMode(arr) take the array of numbers stored in arr and return the number that appears most frequently (the mode). For example: if arr contains [10, 4,…

Read More

Code Challenge: Greatest Common Factor

This week’s JavaScript code challenge again comes from Coderbyte: Using the JavaScript language, have the function Division(num1,num2) take both parameters being passed and return the Greatest Common Factor. That is, return the greatest number that evenly goes into both numbers…

Read More

Code Challenge: Triple Double

Each week, I offer up a JavaScript code challenge. Want more? You can find others here. Again, this week’s code challenge comes from my trusty favorite, Coderbyte: Using the JavaScript language, have the function TripleDouble(num1,num2) take both parameters being passed,…

Read More

Code Challenge: Consecutive

Each week, I offer up a JavaScript code challenge. Want more? You can find others here. This week’s code challenge comes again from Coderbyte: Using the JavaScript language, have the function Consecutive(arr) take the array of integers stored in arr…

Read More

Code Challenge: Additive Persistence

Each week, I offer up a JavaScript code challenge. Want more? You can find others here. First, I’ll admit that I’m a day overdue on this code challenge. Last week, I was on vacation in Austin, TX, and I’m still…

Read More

Code Challenge: Number Search

Each week, I offer up a JavaScript code challenge. Want more? You can find others here. This week’s code challenge again comes from Coderbyte. It’s quite a bit easier and shorter than last week mainly because I was slammed with…

Read More

Code Challenge: Blackjack

Each week, I offer up a JavaScript code challenge. Want more? You can find others here. This week’s challenge comes from Coderbyte, which has been a fun resource. The instructions are a bit of a doozy: Have the function BlackjackHighest(strArr) take…

Read More