Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8eb6c4

Browse files
committed
added functions video hyf
1 parent a4ff8fa commit e8eb6c4

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Week3/README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In JavaScript, we call these blocks of code `functions`. They are written like t
1616

1717
```js
1818
function multiplyTwoNumbers(number1, number2) {
19-
return number1 * number2;
19+
return number1 * number2;
2020
}
2121
```
2222

@@ -54,9 +54,10 @@ You should see it like this: a function is like a `tool` in the tool box. Only,
5454

5555
Go over the following materials to learn more about the how and why of functions:
5656

57-
- [What is a function in programming?](https://www.youtube.com/watch?v=QcCnfAxGpgg)
58-
- [JavaScript Functions](https://www.youtube.com/watch?v=R8SjM4DKK80)
59-
- [Functions](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/functions.md)
57+
- [Introduction to Functions](https://www.youtube.com/watch?v=4LklwbSP--4)
58+
- [What is a function in programming?](https://www.youtube.com/watch?v=QcCnfAxGpgg)
59+
- [JavaScript Functions](https://www.youtube.com/watch?v=R8SjM4DKK80)
60+
- [Functions](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/functions.md)
6061

6162
## 2. Thinking like a programmer I
6263

@@ -71,20 +72,20 @@ The second skill, problem solving, is the most important one. If you get good at
7172

7273
Take a look at the following resources to learn more about problem solving as applied to programming:
7374

74-
- [How to THINK like a programmer](https://www.youtube.com/watch?v=NNazO2tMHno)
75-
- [Problem-Solving for Developers](https://www.youtube.com/watch?v=UFc-RPbq8kg)
76-
- [Lessons in problem solving](https://www.freecodecamp.org/news/how-to-think-like-a-programmer-lessons-in-problem-solving-d1d8bf1de7d2/)
77-
- [Computational thinking](https://www.youtube.com/watch?v=qbnTZCj0ugI)
75+
- [How to THINK like a programmer](https://www.youtube.com/watch?v=NNazO2tMHno)
76+
- [Problem-Solving for Developers](https://www.youtube.com/watch?v=UFc-RPbq8kg)
77+
- [Lessons in problem solving](https://www.freecodecamp.org/news/how-to-think-like-a-programmer-lessons-in-problem-solving-d1d8bf1de7d2/)
78+
- [Computational thinking](https://www.youtube.com/watch?v=qbnTZCj0ugI)
7879

7980
## 3. How JavaScript relates to HTML & CSS
8081

8182
Consider the following analogy. The human body needs 3 essential parts in order to function appropriately: bones, skin and muscles. The bones are necessary to give the body **structure**. The skin (shape of body, hair, clothing, make up) is necessary to give the body a unique **presentation**. and the muscles (for walking, climbing, swimming) are needed to give the body **movement and interactivity**.
8283

8384
This is exactly how HTML, CSS and JavaScript relate to each other:
8485

85-
- HTML is used to put the structure of a website together
86-
- CSS acts like the skin and makeup for the HTML. CSS improves the colors and layout of a website structure built with HTML
87-
- JavaScript is a full-on programming language that adds interactivity and functionality to a website
86+
- HTML is used to put the structure of a website together
87+
- CSS acts like the skin and makeup for the HTML. CSS improves the colors and layout of a website structure built with HTML
88+
- JavaScript is a full-on programming language that adds interactivity and functionality to a website
8889

8990
Each technology has their own file type: `.html`, `.css` and `.js`. The HTML file is always the base, the other files (whether CSS or JavaScript) are then referenced to inside of this HTML file. HTML is the base, because that's the first file a browser will render. That's just how browsers work!
9091

@@ -104,7 +105,7 @@ It's better practice to reference inside of the `<body>`. This is because the bi
104105

105106
Check the following article to learn more about this:
106107

107-
- [The Relationship Between HTML, CSS and JavaScript Explained by Building A City](https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/)
108+
- [The Relationship Between HTML, CSS and JavaScript Explained by Building A City](https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/)
108109

109110
## Finished?
110111

0 commit comments

Comments
 (0)