Skip to content

Instantly share code, notes, and snippets.

View northam's full-sized avatar

Eugene Kardash northam

View GitHub Profile
Designers Track
northam /
Created August 1, 2019 00:18
Some extra JavaScript practice

Important note

Use Replit or write code in a local JS file to complete these challenges. JS Bin doesn't handle callbacks well (it throws SyntaxError: Unexpected token { even though the code works elsewhere), and Code Pen has a finnicky console:

For a version of these questions with hints, use this gist:

Conditionals and operators

  1. Write a function getIsWordOdd that takes in a string and returns true if the word contains an odd number of characters or false if the word contains an even number of characters.

Sample calls:

northam /
Last active August 1, 2019 00:19
Gist Markdown Cheatsheet

Gist Markdown Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6