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

Skip to content

Commit 9daa182

Browse files
authored
Update LESSONPLAN.md
1 parent 16ca1e0 commit 9daa182

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

Week1/LESSONPLAN.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ The purpose of this class is to introduce to the student:
1313

1414
## Core concepts
1515

16-
### FIRST HALF (12.00 - 13.30)
16+
*FIRST HALF (12.00 - 13.30)*
1717

18-
#### 1. The 2 types of websites: static vs. dynamic
18+
## 1. The 2 types of websites: static vs. dynamic
1919

20-
##### Explanation
20+
### Explanation
2121

2222
Static websites usually come with a fixed number of pages that have a specific layout. When the page runs on a browser, the content is literally static and doesn’t change in response to user actions. A static website is usually created with HTML and CSS
2323
Compared to static websites, which are purely informational, a dynamic website is more functional. It allows users to interact with the information that is listed on the page. Of course, that requires utilizing more than just HTML code.
2424

25-
##### Example
25+
### Example
2626

2727
Examples the two different kind of websites
2828

2929
- Static: https://www.atlassian.com/time-wasting-at-work-infographic
3030
- Dynamic: https://www.facebook.com/
3131

32-
##### Exercise
32+
### Exercise
3333

3434
Discuss in class which claim belongs to which type of website:
3535

@@ -46,7 +46,7 @@ Discuss in class which claim belongs to which type of website:
4646
HTML, CSS, Javascript is used for developing the website.
4747
Same content is delivered everytime the page is loaded.
4848

49-
##### Essence
49+
### Essence
5050

5151
[In the link is an article with (dis)advantages of both static and dynamic websites.](https://www.spiderwriting.co.uk/static-dynamic.php)
5252

@@ -68,19 +68,19 @@ Discuss in class which claim belongs to which type of website:
6868

6969
_Show examples of static and dynamic websites_
7070

71-
#### 2. The pillars of web development: HTML/CSS/JavaScript
71+
## 2. The pillars of web development: HTML/CSS/JavaScript
7272

73-
##### Explanation
73+
### Explanation
7474

7575
- HTML defines what the content is.
7676
- CSS defines the appearance of the page.
7777
- JavaScript defines behavior of the page.
7878

79-
##### Example
79+
### Example
8080

8181
- An example about relationship between HTML, CSS and Javascript using a metaphor of building a city: https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/
8282

83-
##### Exercise
83+
### Exercise
8484

8585
Let students create a classwork directory and create an index.html along with an app.js. Script tag should be added to the end of body tag(reason for doing so is part of JS2 Week1).
8686

@@ -92,7 +92,7 @@ The end result should look like:
9292
- app.js
9393
```
9494

95-
##### Essence
95+
### Essence
9696

9797
Up until now at HackYourFuture, we have been writing websites using HTML and CSS. Even though a website written with these two languages works just fine, it is only a static page.
9898

@@ -107,9 +107,9 @@ It doesn't exhibit any dynamic behaviour like:
107107
1. sending requests over network to servers and fetching a response
108108
1. and this is where JavaScript steps in.
109109

110-
#### 3. What are variables (const & let) & naming conventions
110+
## 3. What are variables (const & let) & naming conventions
111111

112-
##### Explanation
112+
### Explanation
113113

114114
In JavaScript, there are three ways of creating variables.
115115

@@ -128,7 +128,8 @@ Three different stages of working with variables are:
128128
- Variable (Re)Assignment
129129
- Variable assignment means throwing away the old value of a variable and replacing it with a new one. Initialization can be thought of as a special way of assignment.
130130

131-
##### Example
131+
https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/variables.md
132+
### Example
132133

133134
```javascript
134135
// Variable Declaration
@@ -167,7 +168,7 @@ console.log(firstName);
167168
console.log(lastName);
168169
```
169170

170-
##### Exercise
171+
### Exercise
171172

172173
1. Create 2 variables using the `let` keyword
173174
1. make 1 variable contain your first name
@@ -177,19 +178,19 @@ console.log(lastName);
177178
1. the first variable should contain the city you currently stay at
178179
1. come up with a value for the second variable yourself
179180

180-
##### Essence
181+
### Essence
181182

182183
Any application written in any programming language requires data or information to work with. This information can be as simple as a string, number or complex types like a list of strings, a mix of strings and numbers etc.
183184

184185
For example, your name and age are simple pieces of information, a string and a number respectively. On the other hand, your house address could be considered as a complex set of information including house number, street name, city, postcode and country.
185186

186187
Variables are simply named storage/pointer for this information.
187188

188-
### SECOND HALF (14.00 - 16.00)
189+
*SECOND HALF (14.00 - 16.00)*
189190

190-
#### 4. The basic data types (string, boolean, number, undefined, null)
191+
## 4. The basic data types (string, boolean, number, undefined, null)
191192

192-
##### Explanation
193+
### Explanation
193194
Primitive data types are typically types that are built-in or basic to a language implementation.
194195

195196
There are 5 different types of data. The compiler/computer interpretates all the variables we make as one of those datatypes.
@@ -201,7 +202,7 @@ Undefined — a declared variable but hasn’t been given a value
201202
Number — integers, floats, etc
202203
String — an array of characters i.e words
203204
?? Symbol — a unique value that's not equal to any other value ??
204-
##### Example
205+
### Example
205206
* `string`, e.g. "HackYourFuture"
206207
* `number`, e.g. 5, or 10.6
207208
* `boolean`, e.g. `true` or `false`
@@ -218,21 +219,23 @@ let typeOfX = typeof x; // -> "number"
218219
```
219220

220221

221-
##### Exercise
222-
BEverybody has two minutes to find a way to declare all basic data types by making use of the typeof operator:
222+
### Exercise
223+
Everybody has two minutes to find a way to declare all basic data types by making use of the typeof operator:
223224
```js
224225
let x = 5;
225226
let typeOfX = typeof x; // -> "number"
226227
```
227-
##### Essence
228+
### Essence
228229
In this way we can store a lot of data in a compact way, while the computer/compiler knows how to interpretate the 1's and 0's/
229230

230-
#### 5. The compound data types (object, array)
231+
## 5. The compound data types (object, array)
231232

232-
##### Explanation
233+
### Explanation
233234

234-
##### Example
235+
### Example
235236
* `array`\*, e.g. `[1, 2, 3]` or `['what', 'is', 'your', 'name']`
236237
* `object`, e.g. `{name: 'John', age: 24}`, or the special object `null`
237-
##### Exercise
238-
##### Essence
238+
### Exercise
239+
### Essence
240+
241+
Special thanks to Jim Cramer, Yash Kapila, David Nudge for most of the content

0 commit comments

Comments
 (0)