This repo contains a collection of simple javascript exercises.
- Fork this repo into your account.
- Clone your fork to your local machine
cd javascript-workshopsnpm install
Assume data-and-functions-1 is the current workshop.
- Open two terminals
- In the first terminal:
cd data-and-functions-1git checkout -b data-and-functions-1to create a new branch for your worknpm testto start the test runner
- Work on getting the functions to pass
- In the second terminal:
git addandgit commitas neededgit push origin data-and-functions-1when you want to save to the cloud
At any point, you can create a pull request to discuss or submit your work. We are going to use the pull request functionality of GitHub for this purpose.
- Make sure you've pushed your latest changes
- Go to your forked repo on GitHub
- Click the "Pull Requests" tab
- Open a new pull request
- Verify the dropdowns are correctly set:
base forkis set toAmerica Campaign/javascript-workshopsbaseis set tomasterhead forkis set to your forked repocompareis set to your branch name (e.g.data-and-functions-1)
- Click the
Create Pull Requestbutton
Your work will now be available for code review via the pull request interface.