diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index ef29eeab..c3e0510b 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,22 +1,35 @@ -# Your Details +## Learners, PR Template + -- Your Name: -- Your City: -- Your Slack Name: +Self checklist -# Homework Details +- [ ] I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME +- [ ] My changes meet the requirements outlined in the `README.md` of this task -- Module: -- Week: +## Changelist + + +Briefly explain your PR. diff --git a/README.md b/README.md index 22a26be5..f158d4a8 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,10 @@ 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. + +## How to check your work? +If you have correctly submitted your PR, you can find it in https://github.com/CodeYourFuture/GitHomeworkFixErrors/pulls. + +Please note that your PR will not undergo an official review, as none is required. Most PRs at CodeYourFuture get reviewed, but this one is just for you to practice creating them. diff --git a/homework.md b/homework.md index 35d995b6..c8df1815 100644 --- a/homework.md +++ b/homework.md @@ -1,113 +1,26 @@ -# Linus's Homework + # Linus's Homework -## Question 1 +## 1. What is 2 + 2? -What is 2 + 2? +4 -5 +## 2. What is JavaScript? -## Question 2 +JavaScript (JS) is a versatile, high-level programming language that serves as one of the core technologies of the World Wide Web, alongside HTML and CSS -What is the opposite of Black? +## 3. Name three problems Git & GitHub solve? -Purple +Losing previous versions of code: Git allows you to track and manage changes over time by creating "commits" (snapshots) of your project. +Overwriting a teammate's work: In a collaborative setting, Git prevents "code collision" by allowing multiple developers to work on different parts of a project simultaneously using branches. +Lack of transparency and coordination: GitHub provides a centralized platform to host code and manage team workflows. It solves coordination issues through features like GitHub Issues for tracking bugs and Pull Requests for reviewing code before it is finalized -## Question 3 +## 4. What happens when you `fork` a repository? -What is the 2 * 3 * 6 * 1 * 10 * 34? +Forking a repository creates a personal, server-side copy of a project under your own account, allowing you to freely experiment, modify, or enhance the code without affecting the original "upstream" project. +## 5. What happens when you clone a repository? -1322 +Cloning a repository creates a complete, local copy of a remote Git project on your computer, including all files, branches, and commit history. -## Question 4 +## 6. What is a Pull Request? +A pull request (PR) is a method in version control systems (like Git) where a developer proposes changes—such as new features or bug fixes—to a codebase, requesting that team members review, discuss, and merge them into the main project -What does HTML stand for? - -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 `