#Unit 7 Project 1: Mr. Potato Head
Together we can create a Mr. Potato Head using GitHub!
###Directions
- Find your teacher on github.com and find the
Mr_Potato_Head
repository: - Fork the Repo
- Create a new workspace for this repository using the clone from Git URL from your repository.
- Add your assigned body part to
potatohead.html
. Body parts can be found in theassets
folder - Add the necessary CSS to your body part in the
potato.css
file. - Push your changes to your GitHub repo
- Create a Pull request to your teacher's repo
##Remember: Fork, Change, Push, Pull In Cloud 9 terminal:
git status
You should see that potatohead.html and potato.css are modified, like this:
modified: potatohead.html
modified: potato.css
Stage your changes in the index with git add .
, then commit them. The string after -m
in git commit
is the commit message. Don't use "Commit message" as your message!
Instead, say what you did, for example "added body part [your assigned body part]"
git add .
git commit -m "Commit message" <<< but change the message!
Push your local commit up to github
git push origin master
look at your github: You should see the commit you just made! If you click "Commits" you can see the all of the work that has been put into Mr Potato Head, and you are at the top!
From your GitHub create a "New Pull Request" (the green button) to send your changes to the instructor. The instructor will merge all of the changes (everyone's body parts), and at the end hopefully we'll have a whole Mr. Potato Head.
- Create a button that sits below Mr. Potato Head that when it is clicked your body part will show or hide.