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

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.
JavaScript is a dynamic and interpreted programming language used to give websites actions and intelligence. It is what makes websites do things instead of just showing texts and pictures.

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

When people want to show off code to each other they can put it on GitHub
- Problem: You make changes to your code and something breaks, and you dont know how the old code looked like
Solution: Git tracks every changes and saves versions of your projects or commits

- Problem: Multiple people working on the same file, this causes confusion and overwritten work
Solution: People can work on their own branches and then merge to the main code without any problems.

- Problem: Laptop no longer working,or gets stolen or crashes.
Solution: Your code and files are store in a remote repository online which you can access anyware anytime.

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

You delete it
You make a personal copy of someone's code in your Github account.

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

It send it to a friend
You download a full copy of the code of the project to your computer system

## 6. What is a Pull Request?

When you send a file over the internet
A Pull Request (PR) is a collaborative tool used in Git Version Control System like Github to request to add changes into someone else's branch or repository.