- Before completing each spec, read the README.md File located in each folder and check the point value for each problem so you know how to prioritize each problem.
- 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 foundations-checkpoint-1-V2
$ testem
TEST'EM 'SCRIPTS!
Open the URL below in a browser to connect.
http://localhost:7357/
- 00 Find Object Properties: 5.00
- 01 Browser Window: 8.00
- 02 Thrice: 7.00
- 03 Right Triangle: 5.00
- 04 Simulate Battle: 4.00
- Note: the
simulateBattle
function is extra credit. 2 Points will be added to your grade if all specs are passing (partial credit is not rewarded for extra credit problems)
- Note: the
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 Checkpoint to be graded in Learndot.
Make sure you press Done on the Checkpoint 1 Checkpoints Page to submit your Checkpoint when you are finished!
Example
$ git add -A
$ git commit -m 'completed exercises'
$ git push origin master
Good luck!