Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 750 Bytes

File metadata and controls

28 lines (21 loc) · 750 Bytes

Javascript Challenges

Setup

git clone https://github.com/killface-org/js-challenges.git
cd js-challenges
npm install

Challenges

Each challenge is located in the challenges directory, with filenames corresponding to the challenge number. For example the first challenge is named c1.js. Instructions for completing the challenge are in the comment at the begging of the file.

Checking The Solution

Once you have completed you solution, you can run it against the test scenarios using npm in the terminal.

This command will check your solution for the first challenge.

npm run check 1

Whereas this will check you solution for the second challenge.

npm run check 2