Today in lab you will fork and clone a GitHub repo, and then create solutions to some code problems such that your solutions pass the included tests.
Be sure to follow instructions carefully.
Here are a couple of things to keep in mind:
- Create a new branch for each code problem, and merge each branch into master on GitHub (and then pull back into master on your laptop!) when the problem is completed. Do the problems in order. Don't forget to pull the updated master branch from GitHub into your local master branch each time you merge a pull request, then make a new branch from master for the next problem.
- Although this is an individual lab assignment, do feel free to (heck, it is encouraged that you) collaborate and work in pairs or groups.
You are being given starter code for today, including tests. The success of your code will be determined by whether it passes tests that are in the math-functions.test.js
file. You should
not change anything in the test files, though you should take a look at it to see how it works.
Make sure your master branch is up to date with your most recent code. Create a new pull request on GitHub from your master branch to codefellows master branch, making sure that the left dropdown base repository
says alchemycodelab/math-functions
and the right dropdown head repository
says <your github username>/math-functions
Make sure your PR passes travis!