Skip to content

GLASGOW | MAY-2025 | VALENTYN PRONCHENKO | ERRORS-FIXED #759

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
32 changes: 24 additions & 8 deletions homework.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,40 @@

## 1. What is 2 + 2?

5
4

## 2. What is JavaScript?

An exciting new play about coffee.
JavaScript is a high-level, interpreted programming language that is primarily used to create dynamic and interactive features on websites. It is one of the core technologies of the web, alongside HTML and CSS.

## 3. What three problems does Git & GitHub solve?

When people want to show off code to each other they can put it on GitHub

Version Control
Without version control, it’s hard to keep track of changes in code. Developers risk overwriting each other’s work, losing progress, or not being able to undo mistakes.
How Git/GitHub solve it:
Git tracks every change made to your codebase.
You can view history, compare versions, and revert to earlier states.
Changes are organized into commits and branches, making it easy to experiment without breaking the main code.
Collaboration
Working on a team without a system to coordinate changes leads to confusion, duplicated work, and conflicts.
Backup & Hosting
How GitHub solves it:
Teams can work on the same project in parallel using branches and pull requests.
lps review, discuss, and merge code changes.
Contributors can suggest changes without direct access to the main project (via forks and pull requests).
Backup & Hosting
Code stored only on one developer’s machine can be lost if the computer crashes or is stolen.
How GitHub solves it:
GitHub stores your code in the cloud, making it safely accessible from anywhere.
You can clone the repository on any machine and continue working.
GitHub also integrates with CI/CD tools, project boards, and issue tracking.
## 4. What happens when you `fork` a repository?

You delete it
When you fork a repository on GitHub, you're creating your own personal copy of someone else's project under your GitHub account.

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

It send it to a friend
When you clone a repository using Git, you are downloading a full copy of the project from a remote server (like GitHub) to your local machine.

## 6. What is a Pull Request?

When you send a file over the internet
A Pull Request (PR) is a way to propose changes to a codebase in Git-based collaboration platforms like GitHub, GitLab, or Bitbucket.