You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week1/LESSONPLAN.md
+46-13Lines changed: 46 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -4,31 +4,50 @@
4
4
5
5
The purpose of this class is to introduce to the student (1) the basics of working with the command line interface, and (2) basic HTML/CSS concepts:
6
6
7
-
FIRST HALF:
7
+
**FIRST HALF:**
8
8
9
9
- Command line interface basics
10
10
11
-
SECOND HALF:
11
+
**SECOND HALF:**
12
12
13
+
- HTML basics
13
14
- Difference `<head>` and `<body>`
14
15
- Semantic HTML5
16
+
- CSS basics
15
17
- The box model
16
18
17
-
### Core concepts
19
+
##FIRST HALF (12.00 - 13.30)
18
20
19
-
FIRST HALF (12.00 - 13.30)
20
-
21
-
1.**Command line interface basics**
21
+
### 1. Command line interface basics
22
22
23
23
- The command line interface (CLI) is a way to navigate your computer by issuing direct commands
24
-
- Desktop application icons are visual shortcuts
25
-
- Commonly used commands
24
+
- In the past computer had **just** a command line
25
+
- Desktop application icons are visual shortcuts (Windows: show `$ calc` to launch the calculator)
26
+
27
+
_Tell and show basic command line concepts: `~`, `$`, path, avoid spaces, ctrl+c to cancel, arrow up to go through history, Windows: right click paste_
28
+
29
+
_Show students the most commonly used commands (`ls`, `pwd`, `cd`, `echo`, `cat`, `mkdir`, `touch`, `mv`, `cp`, `clear`, `exit`)_
30
+
31
+
### 2. Exercise
32
+
33
+
- Open a command line (Git Bash on Windows)
34
+
- Create a project folder to contain all your HYF work (mkdir)
35
+
- Create a module folder (cd, mkdir)
36
+
- Create a text file: notes.txt (cd, touch)
37
+
- Open Visual Studio Code and add some notes (code .)
38
+
- Rename the file to lecture1.txt (mv)
39
+
40
+
## SECOND HALF (14.00 - 16.00)
26
41
27
-
_Show students the most commonly used commands (`ls`, `pwd`, `cd`, `echo`, `cat`, `mkdir`, `touch`, `head`, `tail`)_
42
+
### 1. HTML basics
28
43
29
-
SECOND HALF (14.00 - 16.00)
44
+
- HTML is just plain text, nothing special
45
+
- Browsers read the HTML and CSS and render a beautiful webpage
46
+
- HTML of a website comes from a server (which is just another computer somewhere)
30
47
31
-
2.**Difference `<head>` and `<body>`**
48
+
_Show most basic HTML structure, also show how Visual Studio Code can autocomplete html structure by just typing: html_
49
+
50
+
### 2. Difference `<head>` and `<body>`
32
51
33
52
- The `<head>` holds all the page's meta-data: information about the complete webpage
34
53
@@ -38,18 +57,32 @@ _Show examples of what the `<head>` could hold and why: `<title>`, `<link>`, `<m
38
57
39
58
_Show examples of commonly used HTML tags: `<h1>`, `<a href="#">`, `<div>`_
40
59
41
-
3.**Semantic HTML5**
60
+
### 3. Semantic HTML5
42
61
62
+
- Explain why there are `<h1>`, `<h2>`, `<h3>`
43
63
- In theory a page can be constructed using only `<div>`s
44
64
- Semantic tags make the code more comprehensible
45
65
- It helps organize the page
46
66
47
67
_Show examples of semantic HTML: `<header>`, `<footer>`, `<section>`_
48
68
49
-
4.**The box model**
69
+
### 4. CSS Basics
70
+
71
+
- Explain inline css, `<style>` block css and external css
72
+
- Roughly two types of CSS, styling (text) and CSS for layout structure
73
+
74
+
_Show different ways to write css, and some basic css properties: `font-size`, `background-color`, `border`_
75
+
76
+
### 5. The box model
50
77
51
78
- Everything is a box
52
79
- The "box" refers to the attributes universal to every element: `margin`, `padding`, `border`
53
80
- Every element pushes against one another
54
81
55
82
_Show example of the box model by using the browser inspector on various elements_
83
+
84
+
### 6. HTML/CSS Exercise
85
+
86
+
- Using the command line create a project folder, a html file and css file
87
+
- Create a basic html structure, and link to an external css file
88
+
- Create a webpage which uses all the html tags and css properties which were have discussed
0 commit comments