Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions homework.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,28 @@

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.
JavaScript is a programming language that is used in the overwhelming majority of websites.

## 3. What three problems does Git & GitHub solve?

When people want to show off code to each other they can put it on GitHub
- Keeps a record of all the changes that have been made to a project which means if an update breaks something within a project or we want to go back to a previous version, it can be reverted easily.

- Allows multiple people to work on the same project without getting confused as we can use branches to make experimental changes to existing projects without affecting the main branch.

- Git and Github allow for streamlined workflows as people can work on the same project simultaneously and use personal branches to make changes before they are approved for the main branch.

## 4. What happens when you `fork` a repository?

You delete it
You get a copy of that repository added to your personal GitHub account.

## 5. What happens when you clone a repository?

It send it to a friend
You get a local copy of all the files in the project on your personal computer.

## 6. What is a Pull Request?

When you send a file over the internet
A proposal to merge a set of changes from one branch of a project to the main branch which allows for code review and discussion before it is approved.