Go to file
Kevin Mulhern 49f348ab1c
Merge pull request #15 from snakecase/patch-1
Remove repeating line
2018-04-17 15:11:45 +01:00
caesar Added test cases 2017-09-20 19:04:46 -04:00
calculator Update calculator.spec.js 2018-01-13 12:34:10 -05:00
fibonacci add fibonacci 2017-08-25 14:29:48 -05:00
generator-exercise add generator and repeatString 2017-08-21 10:28:29 -05:00
helloWorld Revert "remove class based exercises" 2017-11-24 14:23:16 -06:00
leapYears Revert "remove class based exercises" 2017-11-24 14:23:16 -06:00
palindromes Remove repeating line 2018-04-01 11:22:02 +05:00
pig_latin Fixed folder titles 2017-09-22 17:32:56 -04:00
removeFromArray Revert "remove class based exercises" 2017-11-24 14:23:16 -06:00
repeatString Update README.md 2017-12-05 20:36:48 -06:00
reverseString Adapt description to the test 2017-12-29 13:52:53 +01:00
snakeCase add snakeCase 2017-08-25 14:16:42 -05:00
sumAll Revert "remove class based exercises" 2017-11-24 14:23:16 -06:00
tempConversion Update tempConversion.spec.js 2017-10-25 11:53:33 -05:00
.DS_Store Fixed folder titles 2017-09-22 17:32:56 -04:00
.gitignore add tempConversion 2017-08-25 10:27:07 -05:00
README.md Merge pull request #5 from ryanford-frontend/patch-1 2017-12-24 06:26:41 -06:00

README.md

These are a series of javascript exercises intended to be used alongside the curriculum at 'The Odin Project' They start very simply, but get more involved as you progress through them.

There will eventually be a suggested order of completion, but at this time since we are still in the process of creating more exercises the order is subject to change and has not yet been specified... In general however there are a couple which make a good "starting point" feel free to at least start with these:

  1. Hello World
  2. Repeat String
  3. Reverse String

HOW TO USE THESE EXERCISES

Before you start you should have a few things installed on your machine:

  1. NodeJS. To check if you have it type node -v in a terminal. If you get back a number bigger than 6 that means you've got it installed. Best way to install node is with NVM. Check link for instructions here
  2. Jasmine. Jasmine is a testing framework for Javascript. Type jasmine -v to check for it. If you need to install it type npm install -g jasmine to do so.
  3. Clone this repo and get started.

Each exercise includes 3 files, a markdown file with a description of the task, an empty (or mostly empty) javascript file, and a set of tests. To complete the exercise go to the exercise directory in a terminal and run jasmine filename.spec.js. This should find and run the test file and show you the output. Upon first running the tests you will find that the tests fail: this is by design! Your task is to open up the javascript file and write the code needed to get all of the tests to pass. Some of the exercises have test conditions defined in the spec file that are defined as 'xit' compared to 'it'. This is purposeful, and as you test your solution against the first 'it', on success you will change the next 'xit' to an 'it' and test your code again, until all conditions are satisfied.

The first exercise, helloWorld will walk you through the process in more depth.

Solutions

Solutions for these exercises can be found in this repo on the 'solutions' branch.