- From the Example Challenge Assessment, click on the fork button at the bottom of this page. This will fork a copy of the challenge repository to your account on Github
- Go to your own newly created Example Challenge repository on GitHub and clone the repo locally. The link is also given below, and should also appear at the bottom of this page after your press the fork button.
$ git clone https://github.com/YOURUSERNAME/example-challenge.git
$ cd example-challenge
- Before completing each spec, read the README.md File located in each folder.
- Write your code in each
solution_*.js
file so that you can pass the specs in located in the*_specs.js
files - Run the test specs to test your code. To run the specs for a directory, you need to go into that directory and run the command
testem
.
$ cd example-challenge
$ testem
TEST'EM 'SCRIPTS!
Open the URL below in a browser to connect.
http://localhost:7357/
When you are passing all the specs, or have run out of time, commit your changes and push them up to your repository for the coding portion of the challenge to be graded in Fullstack's Learning Platform.
Make sure you press Complete Assessment on the Example Challenge Page to submit your Challenge when you are finished!
$ git add -A
$ git commit -m 'completed exercises'
$ git push origin master
Good luck!