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

Skip to content

Commit 4cbdad7

Browse files
authored
Merge pull request HackYourFuture#191 from HackYourFuture/improve-lessonplan-2
Add exercise to lessonplan for week 1
2 parents fb0abfd + 412d73a commit 4cbdad7

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Week1/LESSONPLAN.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ _Show examples of static and dynamic websites_
7878

7979
##### Example
8080

81-
- An example about relationship between HTML, CSS and Javascript using a methaphor of building a city: https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/
81+
- 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

8383
##### Exercise
8484

@@ -98,14 +98,14 @@ Up until now at HackYourFuture, we have been writing websites using HTML and CSS
9898

9999
These static pages can interact with a visitor only through the use of forms. Once a form is filled out and submitted, a request is sent back to the server where a new static web page is constructed and eventually downloaded into the browser.
100100

101-
A big disadavantage of web pages like this is that the only way that a visitor has of interacting with the page is by filling out the form and waiting for a new page to load.
101+
A big disadvantage of web pages like this is that the only way that a visitor has of interacting with the page is by filling out the form and waiting for a new page to load.
102102

103103
It doesn't exhibit any dynamic behaviour like:
104104

105105
1. reacting to user actions such as mouse click events or key presses.
106106
1. rendering complex animations
107107
1. sending requests over network to servers and fetching a response
108-
1. And this is where JavaScript steps in.
108+
1. and this is where JavaScript steps in.
109109

110110
#### 3. What are variables (const & let) & naming conventions
111111

@@ -169,13 +169,19 @@ console.log(lastName);
169169

170170
##### Exercise
171171

172-
TODO(Could be moved to SECOND HALF)
172+
1. Create 2 variables using the `let` keyword
173+
1. make 1 variable contain your first name
174+
1. the second variable should have no value assigned
175+
176+
1. Make 2 variables using the `const` keyword
177+
1. the first variable should contain the city you currently stay at
178+
1. come up with a value for the second variable yourself
173179

174180
##### Essence
175181

176182
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.
177183

178-
For eg, you name and age are simple pieces of information, strings 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.
184+
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.
179185

180186
Variables are simply named storage/pointer for this information.
181187

0 commit comments

Comments
 (0)