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.
avaScript is a high-level, interpreted programming language that is one of the core technologies of the World Wide Web, alongside 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
1. The "Mistake" Problem
Without Git, if you delete a folder or break your code, it might be gone forever. Git takes "snapshots" of your work. If you mess up, you can travel back in time to a version that actually worked.

2. The "Collaboration" Problem
If two people edit the same file at the same time, they usually overwrite each other. Git allows multiple people to work on different parts of the same project simultaneously and then "merges" their work together safely.

3. The "Final_v2_REAL_Final" Problem
Instead of having twenty versions of a file named index_v1.html, index_final.html, and index_REALLY_final.html, Git keeps just one file visible while storing the entire history of every change ever made hidden in the background.

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

You delete it
When you fork a repository, you are essentially creating a personal photocopy of someone else's project and putting it into your own account.

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

It send it to a friend
When you clone a repository, you are downloading a complete copy of a project from a remote server (like GitHub) onto your local computer.

## 6. What is a Pull Request?

When you send a file over the internet
A Pull Request (PR) is a way of saying, "I’ve finished my work; please review it and add it to the main project."