Skip to content

ITP-MAY-2025 | UMAR MOHAMMED | GITHOMEWORKFIXERRORS | WEEK-1 #631

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 4 commits into
base: fix-hwk-errors
Choose a base branch
from
Open
Show file tree
Hide file tree
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
9 changes: 6 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<!--

The title for your pull request should be made in this format
You must title your PR like this:

CITY CLASS_NO - FIRST_NAME LAST_NAME - MODULE - WEEK_NO
COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK

For example,

London Class 7 - Chris Owen - HTMl/CSS - Week 1
ITP-OCT-24 | Carol Owen | GitHomeworkFixErrors | Week1

Complete the task list below this message.
If your PR is rejected, check the task list.

-->

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ Can you help him to fix or improve the answers to his homework?
2. Clone the repository to your computer
3. Create a branch with an appropriate name for the task you're on
3. Fix the errors in Linus's homework in `homework.md`
4. Create a Pull Request back to this repository with the correct answers

4. Create a Pull Request back to this repository with the correct answers. Make sure your Pull Request is created in CodeYourFuture's fork, not your personal fork.
112 changes: 12 additions & 100 deletions homework.md
Original file line number Diff line number Diff line change
@@ -1,113 +1,25 @@
# Linus's Homework

## Question 1
## 1. What is 2 + 2?

What is 2 + 2?
4

5
## 2. What is JavaScript?

## Question 2
JavaScript is a versatile scripting language primarily used to add interactive and dynamic functionality to web pages, alongside HTML and CSS. It allows developers to create engaging user experiences by manipulating web page content, controlling events, and responding to user actions without requiring a full page reload.

What is the opposite of Black?
## 3. What three problems does Git & GitHub solve?

Purple
By addressing common problems like merge conflicts, protected branches, and branching strategy, teams can streamline their workflows and maximize the benefits of these essential tools.

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

What is the 2 * 3 * 6 * 1 * 10 * 34?
Forks let you make changes to a project without affecting the original repository, also known as the "upstream" repository.

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

## Question 4
When you clone a repository, you copy the repository from GitHub.com to your local machine. Cloning a repository pulls down a full copy of all the repository data that GitHub.com has at that point in time, including all versions of every file and folder for the project.

What does HTML stand for?
## 6. What is a Pull Request?

Hyper Tall Massive Language

## Question 5

What is CSS useful for?

Making a website go faster

## Question 6

Using CSS, how would I select every `<h1>` tag on the page?

```css
#h1 {

}
```

## Question 7

What is JavaScript?

A programming language used on the internet

## Question 8

What three problem does Git & Github solve?

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

## Question 9

What happens when you `fork` a repository?

You delete it

## Question 10

What happens when you clone a repostory?

It send it to a friend

## Question 11

What is a Pull Request?

When you send a file over the internet

## Question 12

What is the Git History log?

It lets you see into the future

## Question 13

What does it meant to "push" changes to Github?

You send the changes of your local repository to Github

## Question 14

What is Github?

A place for us to store and share our code.

## Question 15

What does it mean to "Commit your changes"?

Send you code to Github

## Question 16

What program do we use to write code at CodeYourFuture?

Microsoft Word

## Question 17

What do you use "Commit Messages" for?

To record what changes you made to the code

## Question 18

Where can I look to find help with Git?

The Git Cheatsheet!
A pull request (PR), also known as a merge request, is a method for proposing code changes in distributed version control systems like Git.