Skip to content

Manchester | May 2025 | Adam Musa | GitHomeworkFixErrors #754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
19 changes: 13 additions & 6 deletions homework.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,31 @@

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.
**JavaScript** is a programming language used to make web pages interactive. It runs in the browser and works alongside HTML and CSS. Common uses include form validation, animations, dynamic content updates, and building web applications.

## 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 and GitHub** solve these three main problems:

1. **Version Control** – Track and manage changes to code over time.
2. **Collaboration** – Let multiple developers work together without conflicts.
3. **Backup & Access** – Store code safely online and access it from anywhere.


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

You delete it
**Forking** a repository creates a personal copy of it on your GitHub account, allowing you to freely make changes without affecting the original. It's commonly used for contributing to projects or experimenting safely.


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

It send it to a friend
**Cloning** a repository downloads the entire project (files and history) to your local computer, allowing you to work on it offline and sync with the original repository.


## 6. What is a Pull Request?

When you send a file over the internet
A **Pull Request** is a request to merge your changes from one branch or fork into another. It lets others review and discuss your code before it’s added to the main project. It’s commonly used for collaboration and code review.