From afe3a9f7461ec84a3bc0e61b40ee8723e6637fe8 Mon Sep 17 00:00:00 2001 From: "Karla G." Date: Sat, 27 Dec 2025 21:03:00 +0000 Subject: [PATCH] fixed answers and commiting the changes and new branch --- homework.md | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/homework.md b/homework.md index f7a8449a..84b09b15 100644 --- a/homework.md +++ b/homework.md @@ -2,24 +2,48 @@ ## 1. What is 2 + 2? -5 +4 ## 2. What is JavaScript? -An exciting new play about coffee. + +* JavaScript is the Programming Language for the Web. + +* JavaScript can update and change both HTML and CSS. + +* JavaScript can calculate, manipulate and validate data. ## 3. What three problems does Git & GitHub solve? -When people want to show off code to each other they can put it on GitHub +Chaos and repetitive files. + +* version1, version2, version3 etc. + +* The solution for this is the control version, git tracks every single change in timeline, allowing you to travel in any previous state of your work without duplicating it. + +Overwriting Work + +* Avoiding conflicts overwriting others work, now each person can work individually and insolate without any conflict in between, if they are working in deferent code lines, git intelligently merges the changes or will alert if there is a specific conflict to resolve. + +Centralized Collaboration + +* Github host the code in the cloud, so any person can have access to the official version project and create new work to improve, change, adapt etc. + ## 4. What happens when you `fork` a repository? -You delete it +A fork is a copy of a repository. + +This is useful when you want to contribute to someone else's project or start your own project based on theirs. + +fork is not a command in Git, but something offered in GitHub and other repository hosts. + + ## 5. What happens when you clone a repository? -It send it to a friend +After you clone a repository you are downloading the files and performing a complete initialization of a local workspace linked to a server. ## 6. What is a Pull Request? -When you send a file over the internet +It's a formal way to propose changes to a project.