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

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.
A coding languauge.

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

When people want to show off code to each other they can put it on GitHub
Git keeps a history of your code by saving commits, so you can track changes, go back to previous versions, and see who changed what and when.

Git allows you to work on new features or fixes in branches without breaking the main code. This makes experimenting and fixing bugs safer.

GitHub lets developers share code, work together, and keep everyone up to date by pushing changes to a remote repository and reviewing work with pull requests.

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

You delete it
Make changes without affecting the original project
Experiment safely
Push your own commits to your fork
Open a pull request to suggest your changes to the original repository

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

It send it to a friend
Work on the code locally
Make changes and commits
Keep a connection to the original repository so you can pull updates or push changes later

## 6. What is a Pull Request?

When you send a file over the internet
Review your code
Discuss changes
Approve or request fixes before the code is merged