Skip to main content

Practicing Functional JavaScript Exercise 4 (Video)

06-17-20 Yosevu Kilonzo

This fourth JavaScript exercise helps you level up your functional programming skills, leading you through a resistor color duo example.

Practicing Functional JavaScript helps you level up your functional programming skills. Working with functions is the best practical place to get started with functional programming and a great way to practice patterns that can be used in any code base. Understanding concepts like function composition and referential transparency is more useful when you can recognize them through repeated exposure to the patterns in specific examples.

Solution to Exercise 4: Resistor Color Duo

Part 1

YouTube embeds track user data for advertising purposes. You can watch the video on YouTube if you prefer not to grant consent for YouTube embeds.

Part 2

YouTube embeds track user data for advertising purposes. You can watch the video on YouTube if you prefer not to grant consent for YouTube embeds.

Follow the link below to find all of the exercises in Github. Practice on your own or follow along with this video walkthrough for exercise 4. You can find video walkthroughs for exercises 1 and 2 and exercise 3 on The Foundry as well. And check back later for the other solutions to these functional JavaScript problems!

Learn more about Practicing Functional JavaScript

Get started: git clone git@github.com:yosevu/practicing-functional-javascript.git

Related Content

User-Centered Thinking: 7 Things to Consider and a Free Guide

Want the benefits of UX but not sure where to start? Grab our guide to evaluate your needs, earn buy-in, and get hiring tips.

More Details

See Everything In

Want to talk about how we can work together?

Katie can help

A portrait of Vice President of Business Development, Katie Jennings.

Katie Jennings

Vice President of Business Development