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
14 changes: 8 additions & 6 deletions homework.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.
A programming language mainly used for the web, as it can interact with both HTML and CSS

## 3. Name three problems Git & GitHub solve?

When people want to show off code to each other they can put it on GitHub
Always know what the most recent version of the code is and let's you keep track of all previous versions and when they were created.
Branches let people work on different parts of the code at the same time, without interfeering with each other.
With Github, the code is saved online so it can be accessed on different machines.

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

You delete it
Creates a copy of somebody elses repository in your own Github.

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

It send it to a friend
Creates a copy of a repository in your local machine, allowing you to work on the code using an IDE like VSCode.

## 6. What is a Pull Request?

When you send a file over the internet
A Git command that allows you to upload your local changes to the Github repository. Before using it, all changes need to be committed.