diff --git a/README.md b/README.md index acb927d..f8c3ea5 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ My child - Linus - came home today from school with his homework but he got SOME Can you help him to fix or improve the answers to his homework? + + + + + 1. You should `fork` this repository 2. Clone the repository to your computer 3. Create a branch with an appropriate name for the task you're on diff --git a/homework.md b/homework.md index f7a8449..c85c058 100644 --- a/homework.md +++ b/homework.md @@ -1,25 +1,28 @@ # Linus's Homework ## 1. What is 2 + 2? - -5 - +I have 2 answer. +a) 4 +b) 5 + If wi divide this problem into the concept: numbers and value. Then the numbers will be presented as the number of values. We will get the result "5" by the formula ("2" number of values "+" (as one value) "2" number of values, then the answer will be "5"). ## 2. What is JavaScript? -An exciting new play about coffee. +JavaScript is a powerful and flexible programming language for the web that is widely used to make websites interactive and dynamic. JavaScript can also able to change or update HTML and CSS dynamically. JavaScript can also run on servers using tools like Node.js, allowing developers to build entire applications with it. ## 3. What three problems does Git & GitHub solve? - -When people want to show off code to each other they can put it on GitHub +We have several rules to solve a problems. +https://gist.github.com/neaxi/da4b74fd827fde3095d9123a749f5207#rules-to-problem-solving ## 4. What happens when you `fork` a repository? +Forking a repository on GitHub allows you to create a personal copy of someone else's project. This is useful for proposing changes, experimenting with new ideas, or using someone else's project as a starting point for your own work. Here's a step-by-step guide on how to fork a repository: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo -You delete it ## 5. What happens when you clone a repository? -It send it to a friend - +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. +https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository ## 6. What is a Pull Request? -When you send a file over the internet +Pull requests (PRs) are a fundamental part of collaborative development in Git and are widely used across platforms like GitHub, GitLab, and Bitbucket. A pull request is a mechanism that allows developers to notify others about changes they’ve made to a branch in a Git repository. + + the \ No newline at end of file