diff --git a/homework.md b/homework.md index f7a8449..b67d598 100644 --- a/homework.md +++ b/homework.md @@ -1,13 +1,36 @@ # Linus's Homework -## 1. What is 2 + 2? +## Question 1 -5 +What is 2 + 2? + +4 ## 2. What is JavaScript? -An exciting new play about coffee. +Java Script is a high-level, dynamic, and versatile programming language primarily used to create interactive and dynamic content on websites and web applications. It runs directly in web browsers, but can also be used on servers, mobile apps, desktop apps… + + + +## 3. What three problems does Git & GitHub solve? + +1-Tracking changes and undoing mistakes, solved by Git (local version control) +2-Team collaboration and workflow, solved by GitHub and Git (remote repo + branching/PRs) +3-Safe, offsite code storage, solved by GitHub (cloud hosting) + + +## 4. What happens when you `fork` a repository? + +When we fork a repo on GitHub, we create a personal, independent copy of someone else’s repo under ourGitHub account. + + +## 5. What happens when you clone a repository? + +When we clone a repo, we create a full local copy of a Git repo on our computer. + +## 6. What is a Pull Request? +A Pull Request (PR) is a feature in Git-based platforms that lets us propose changes from your branch (or fork) to be reviewed and merged into another branch. It is not just a code transfer, it is a collaboration tool for discussion, review, testing, and approval before changes become part of the official codebase. ## 3. What three problems does Git & GitHub solve? When people want to show off code to each other they can put it on GitHub