Skip to content

NW | ITP-May-25 | Sangeethadevi Cuddaphadesaiah | GitHomeworkErrors | Week1 #673

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
28 changes: 22 additions & 6 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 programming language used to make web pages interactive. It allows dynamic content updates, form validation, animations, and user interaction directly in the browser.

## 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:
Git tracks changes to files over time, allowing developers to revert to previous versions, compare changes, and maintain a complete history of the project.

Collaboration:
GitHub enables multiple developers to work on the same project simultaneously by using features like branches, pull requests, and merge tools to integrate code safely and efficiently.

Backup and Remote Access:
Hosting code on GitHub acts as a secure backup and allows developers to access and contribute to their projects from anywhere.

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

You delete it
When you fork a repository on GitHub, you create a copy of someone else's repository under your own GitHub account. This allows you to:

Freely make changes to the code without affecting the original project.

Experiment with ideas, fix bugs, or add features.

Later propose your changes to the original repository using a pull request.

Forking is a powerful way to learn from, build upon, and contribute to projects—especially in open-source communities.

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

It send it to a friend
When you clone a repository, you download a full copy of it from GitHub to your local computer, including all files, history, and branches, so you can work on it offline.

## 6. What is a Pull Request?

When you send a file over the internet
A Pull Request is a way to propose changes to a repository. You ask the project owner / maintainers to review and possibly merge your changes into the original code. Pull requests are essential in collaborative and open-source development.