From 35c9e6c92a46ae041294db679f3c3e9fa96832ed Mon Sep 17 00:00:00 2001 From: Isaac Abodunrin Date: Wed, 14 Jan 2026 02:57:31 +0200 Subject: [PATCH] docs: fixed incorrect solutions in mark down --- homework.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/homework.md b/homework.md index f7a8449a..e6d85280 100644 --- a/homework.md +++ b/homework.md @@ -2,24 +2,28 @@ ## 1. What is 2 + 2? -5 +4 ## 2. What is JavaScript? -An exciting new play about coffee. +JavaScript is a popular programming language that is widely used for web development. ## 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 & GitHub solve three main problems: + +1. Version control: Git allows you to keep track of changes to your code over time, so you can always go back to an earlier version if needed. +2. Collaboration: GitHub makes it easy for multiple people to work on the same codebase, with features like pull requests and code reviews. +3. Backup: GitHub provides a remote backup of your code, so you don't have to worry about losing your work if your computer crashes. ## 4. What happens when you `fork` a repository? -You delete it +You create a copy of the repository in your own GitHub account. ## 5. What happens when you clone a repository? -It send it to a friend +It creates a copy of the repository on your local machine. ## 6. What is a Pull Request? -When you send a file over the internet +A pull request is a request to merge changes from one branch into another branch. It is a way to propose changes to a repository and have them reviewed by other developers before being merged into the main codebase.