From 55fdc16da22d786eb28657a166be3a808db0348e Mon Sep 17 00:00:00 2001 From: Ogbemi mene Date: Mon, 11 May 2026 09:37:53 +0100 Subject: [PATCH] my homework correction --- homework.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/homework.md b/homework.md index 1a8a59b..f5fc742 100644 --- a/homework.md +++ b/homework.md @@ -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."