Last updated: Wed Nov 3 11:18:02 PDT 2021

CS 124-Lab 4

In this lab, you'll update lab 3 to:

Getting started

As you are doing the implementation, you will likely want/need to change parts of the design. That's OK, but the changes and rationale should be documented in design.md.

Your work should be done in a branch named lab3.

$ cd ~/cs124/lab
$ git checkout lab3 	
$ git checkout -b lab4 	# creates a new branch named lab4 based on lab3 and checks it out
$ git push -u origin lab4 # pushes the new branch to the origin

Accessibility

Among others, make sure you can provide support for:

Please record a video showing:

Provide a link to this video (which can be hosted on a site like YouTube) in your design doc.

Hand-In Procedure

You will turn in your labs using git and GitHub.

$ git commit -am "my last commit"
[lab1 c2e3c8b] my last commit
 2 files changed, 18 insertions(+), 2 deletions(-)

$ git push

Deploy your app to GitHub Pages so that https://{GITHUBUSERNAME}.github.io/cs124/ shows your running application.

You will then need to go to GitHub.com and create a pull request whose base is lab3 and whose compare is lab4. That is, you'll be submitting the changes between lab3 and lab4. This pull request should show, for example, changes between the lab3 and lab4 design.md rather than showing the entirety of the design.md as new.

Detailed instructions on creating a pull request on GitHub

  1. Go to Pull Request tab on GitHub
  2. Click on "New pull request".
  3. Select 'lab3' as the base branch and 'lab4' as the compare branch .
  4. Verify that the commits that are chosen are correct, and that the code that is shown as different is correct.
  5. Click on "Create pull request".
  6. In the right-hand column, click on the gear icon next to Reviewers
  7. Type "nrhodes-hmc" and click on the GitHub name in the list below.
  8. Click on "Create pull request".

Deliverables

You'll submit a GitHub branch named lab3 containing, at the top level,: Before creating your pull request, go to GitHub and verify that: