diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index ef29eeab..032b8606 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,12 +1,15 @@ diff --git a/README.md b/README.md index 22a26be5..acb927df 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/homework.md b/homework.md index 35d995b6..7b24c909 100644 --- a/homework.md +++ b/homework.md @@ -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 `

` 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. \ No newline at end of file