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

Skip to content

Commit a09dd03

Browse files
author
Noer Paanakker
committed
updated links
1 parent 1b0001d commit a09dd03

File tree

5 files changed

+122
-90
lines changed

5 files changed

+122
-90
lines changed

Week0/preparation.md

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ Hi new student, welcome to HackYourFuture! In this document you'll find all the
66

77
We'll discuss the following points:
88

9-
- How do I communicate with everybody? Use communication tool Slack
10-
- Where do I write my code? Inside a code editor called Visual Studio Code
11-
- What's the way to submit my homework? Use planning tool Trello
12-
- How do I put my code online? On software development platform GitHub
9+
- How do I communicate with everybody? Use communication tool [Slack](https://www.slack.com)
10+
- Where do I write my code? Inside a code editor called [Visual Studio Code](https://code.visualstudio.com/)
11+
- What's the way to submit my homework? Use planning tool [Trello](https://trello.com/)
12+
- How do I put my code online? On software development platform [GitHub](https://www.github.com/)
1313

1414
### How do I communicate with everybody? Use Slack
1515

16+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=EYqxQGmQkVw" target="_blank"><img src="https://slackhq.com/wp-content/uploads/2019/02/2019-02_Staff_Slack1_unfurl.png" width="480" height="240" alt="Slack Video" /></a>
17+
1618
Slack is an application that allows us to communicate with others through (video) chat. It's used in most tech companies and is really easy to use. In order for you to get familiar we're going to use it as well!
1719

1820
Please download the app for on your desktop:
@@ -26,7 +28,11 @@ And if you really can't go without your phone, you can also get it for mobile:
2628
- [App store](https://itunes.apple.com/nl/app/slack/id803453959?mt=12)
2729
- [Google Play](https://play.google.com/store/apps/details?id=com.Slack&hl=nl)
2830

29-
When it's all installed it's time to get into it! These are the first things to do:
31+
When it's all installed it's time to get into it! First try out the demo:
32+
33+
- [Slack Demo](https://slackdemo.com/)
34+
35+
These are the first things to do:
3036

3137
- Add a (professional looking) profile picture
3238
- Add a nice description about yourself
@@ -39,16 +45,20 @@ Done? This is optional, but for those who are curious:
3945

4046
### Where do I write my code? Inside a code editor called Visual Studio Code
4147

48+
![VS Code](https://blog.launchdarkly.com/wp-content/uploads/2018/10/visualstudio_code-card.png)
49+
4250
Technically speaking, you can write code for the web in any application that allows you to write and save plain text files (such as Notepad or TextEdit). However a code editor is a tool specifically designed for editing code.
4351

44-
Depending on to the the programming language, the code editor highlights special keywords, give suggestions for some extent, adds automatic indentation and sometimes has an integrated command line interface (more on that in the next section) as well.
52+
Depending on the programming language, the code editor highlights special keywords, give suggestions for some extent, adds automatic indentation and sometimes has an integrated command line interface (more on that in the next section) as well.
4553

46-
While your code editor does the basic job of allowing you to write code, it can always be improved to make our lives as programmers easier. In the following video you'll learn about the most useful code editor extensions you can install in order to make development a much richer experience:
54+
While your code editor does the basic job of allowing you to write code, it can always be improved to make our lives as developers easier. In the following video you'll learn about the most useful code editor extensions you can install in order to make development a much richer experience:
4755

48-
Currently, Visual Studio Code is one of the top code editors on the market. As such, we have chosen it has our default code editor to use. We highly recommend you to use it as well:
56+
Currently, Visual Studio Code is one of the top code editors on the market. As such, we have chosen it has our default code editor to use. Click the following link to download it:
4957

5058
- [Visual Studio Code](https://code.visualstudio.com/)
5159

60+
#### Improving our code editor
61+
5262
We can always improve what we have, including our code editor! We can add `plugins` to make our programming life much easier. Please install the following plugins as well and see for yourself!
5363

5464
- [Live HTML Previewer](https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer)
@@ -63,6 +73,9 @@ For more specific information on how to setup your editor:
6373

6474
### What's the way to submit my homework? Use planning tool Trello
6575

76+
<br/>
77+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=tVooja0Ta5I" target="_blank"><img src="https://www.artitex.nl/wp-content/uploads/trello-logo-blue.png" width="480" alt="Slack Video" /></a><br/>
78+
6679
Trello is a planning tool that allows you to make todo lists in order to organize and prioritize your projects. In HackYourFuture we'll use it to submit your homework for the first module.
6780

6881
- [Register](https://trello.com/signup) for an account
@@ -71,6 +84,8 @@ Trello is a planning tool that allows you to make todo lists in order to organiz
7184

7285
### How do I put my code online? On software development platform GitHub
7386

87+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=w3jLJU7DT5E" target="_blank"><img src="https://www.nieuws.social/strategie_nieuws/wp-content/uploadsnieuwssocial/2018/06/eult-42.jpg" width="480" alt="GitHub Video" /></a>
88+
7489
GitHub is a place where you can put your code online. Why? To safely store your code in case something bad happens to your computer (computer crash, virus, faulty files). You'll always be able to access this code from GitHub, using any other computer.
7590

7691
- [Register](https://github.com/join) for an account
@@ -81,7 +96,8 @@ GitHub is a place where you can put your code online. Why? To safely store your
8196
Let's make sure you have done everything necessary:
8297

8398
- Slack: downloaded, added profile and said hi
84-
- Trello: registered and added a card with the CodePen URL in of your technical assignment
99+
- Visual Studio Code: downloaded, added plugins
100+
- Trello: registered and added a card, including the CodePen URL of your technical assignment
85101
- Github: registered and put the URL of your account in the class channel
86102

87103
> If the answer to this is 'no', don't panic. First try and see if you can find some information about the above tools yourself (hint: ask Google first). If that doesn't work, don't be shy to ask your classmates or anyone from HackYourFuture on what to do next.

Week1/LESSONPLAN.md

Lines changed: 50 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22

33
## Agenda
44

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:
5+
The purpose of this class is to introduce to the student:
66

7-
**FIRST HALF:**
8-
9-
- Command line interface basics
10-
11-
**SECOND HALF:**
7+
1. the basics of working with the command line interface
8+
2. basic HTML/CSS concepts
129

1310
- HTML basics
1411
- Difference `<head>` and `<body>`
@@ -17,51 +14,54 @@ The purpose of this class is to introduce to the student (1) the basics of worki
1714
- The box model
1815

1916
## Core concepts
20-
FIRST HALF (12.00 - 13.30)
17+
18+
**FIRST HALF (12.00 - 13.30)**
2119

2220
## 1. Command line interface basics
2321

2422
### Explanation
23+
2524
- The command line interface (CLI) is a way to navigate your computer by issuing direct commands
2625
- In the past computer had **just** a command line
2726
- Desktop application icons are visual shortcuts (Windows: show `$ calc` to launch the calculator)
27+
2828
### Example
2929

30-
| Command | Description |
31-
| ------- | ----------- |
32-
| `pwd` | present working directory |
33-
| `ls` | List files in the directory |
34-
| `cd` | change the directory |
35-
| `touch` | Create an empty file |
36-
| `echo` | display the string |
37-
| `echo -n` | Display the string without newline |
38-
| `echo “something” > file` | Redirect the output of echo and create file |
39-
| `echo “another thing” >> file` | Append the string to the file |
40-
| `mkdir` | make a new directory |
41-
| `cd ~` | home |
42-
| `cd -` | previous directory |
43-
| `cd ..` | parent directory |
44-
| `ls -a` | List all files including hidden files |
45-
| `cd /` | change to the root directory |
46-
| `cat` | Concatenate the file line by line and display it on the terminal |
47-
| `less` | Print the big file line by line |
48-
| `vim <file>` | open the editor with <file> {`a:` to go to the insert mode, <ESC>`:wq` to write and quit } |
49-
| `for var in {START..END}; do <COMMAND1>; <COMMAND2>;..; ; done` | |
50-
| `head <file>` | display the first 10 lines of file |
51-
| `tail <file>` | display the last 10 lines of file |
52-
| `head -n <file>` | display first n lines of file |
53-
| `tail -n <file>` | display last n lines of file |
54-
| `man <COMMAND>` | Display manual of the COMMAND |
30+
| Command | Description |
31+
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
32+
| `pwd` | present working directory |
33+
| `ls` | List files in the directory |
34+
| `cd` | change the directory |
35+
| `touch` | Create an empty file |
36+
| `echo` | display the string |
37+
| `echo -n` | Display the string without newline |
38+
| `echo “something” > file` | Redirect the output of echo and create file |
39+
| `echo “another thing” >> file` | Append the string to the file |
40+
| `mkdir` | make a new directory |
41+
| `cd ~` | home |
42+
| `cd -` | previous directory |
43+
| `cd ..` | parent directory |
44+
| `ls -a` | List all files including hidden files |
45+
| `cd /` | change to the root directory |
46+
| `cat` | Concatenate the file line by line and display it on the terminal |
47+
| `less` | Print the big file line by line |
48+
| `vim <file>` | open the editor with <file> {`a:` to go to the insert mode, <ESC>`:wq` to write and quit } |
49+
| `for var in {START..END}; do <COMMAND1>; <COMMAND2>;..; ; done` | |
50+
| `head <file>` | display the first 10 lines of file |
51+
| `tail <file>` | display the last 10 lines of file |
52+
| `head -n <file>` | display first n lines of file |
53+
| `tail -n <file>` | display last n lines of file |
54+
| `man <COMMAND>` | Display manual of the COMMAND |
5555

5656
### Excercise
57+
5758
- Open a command line (Git Bash on Windows)
5859
- Create a project folder to contain all your HYF work (mkdir)
5960
- Create a module folder (cd, mkdir)
6061
- Create a text file: notes.txt (cd, touch)
6162
- Open Visual Studio Code and add some notes (code .)
6263
- Rename the file to lecture1.txt (mv)
6364

64-
6565
_"I go on holiday and I take with me"_ with CLI commands:
6666

6767
- They have to repeat the commands said before them.
@@ -70,35 +70,44 @@ _"I go on holiday and I take with me"_ with CLI commands:
7070

7171
E.g., first student says _"ls : lists commands"_. Second student must say _"ls and cd: change directory"_. Then third student must say _"ls, cd and pwd : show print working directory"_ and so on.
7272
_By [@unmeshvrije](https://github.com/unmeshvrije)_
73+
7374
### Essence
7475

7576
SECOND HALF (14.00 - 16.00)
7677

7778
## 2. HTML basics
79+
7880
### Explanation
81+
7982
- HTML is just plain text, nothing special
8083
- Browsers read the HTML and CSS and render a beautiful webpage
8184
- HTML of a website comes from a server (which is just another computer somewhere)
8285
- Difference `<head>` and `<body>`
8386

8487
Box model
88+
8589
- Everything is a box
8690
- The "box" refers to the attributes universal to every element: `margin`, `padding`, `border`
8791
- Every element pushes against one another
8892

8993
### Example
94+
9095
- Show most basic HTML structure, also show how Visual Studio Code can autocomplete html structure by just typing: html
9196
- `<title>`, `<link>`, `<meta>`
9297
- Show example of the box model by using the browser inspector on various elements
98+
9399
### Excercise
100+
94101
- Using the command line create a project folder, a html file and css file
95102
- Create a basic html structure, and link to an external css file
96103
- Create a webpage which uses all the html tags and css properties which were have discussed
97-
### Essence
104+
105+
### Essence
98106

99107
## 3. Semantic HTML5
100108

101-
### Explanation
109+
### Explanation
110+
102111
- Explain why there are `<h1>`, `<h2>`, `<h3>`
103112
- In theory a page can be constructed using only `<div>`s
104113
- Semantic tags make the code more comprehensible
@@ -109,20 +118,20 @@ Box model
109118
- Show examples of semantic HTML: `<header>`, `<footer>`, `<main>`, `<section>`, `<article>`, `<nav>`, `<aside>`
110119

111120
### Excercise
121+
112122
### Essence
113123

114124
## 4. CSS Basics
115125

116-
### Explanation
126+
### Explanation
127+
117128
- Explain inline css, `<style>` block css and external css
118129
- Roughly two types of CSS, styling (text) and CSS for layout structure
119130

120131
### Example
121-
Show different ways to write css, and some basic css properties: `font-size`, `background-color`, `border`
122-
### Excercise
123-
### Essence
124-
125-
126132

133+
Show different ways to write css, and some basic css properties: `font-size`, `background-color`, `border`
127134

135+
### Excercise
128136

137+
### Essence

Week1/README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,27 @@ These are the topics for week 1:
1717

1818
## 1. What is the command line interface (CLI)?
1919

20-
The Command Line interface (also known as CLI or shell) is a way to navigate through your computer's content (media, folders, applications, etc.) without a visual user interface. It allows you to type text commands to perform specific tasks. Since you can directly control the computer by typing, many tasks can be performed more quickly, and some tasks can be automated with special commands that loop through and perform the same action on many files.
20+
The `Command Line interface` (also known as CLI or shell) is a way to navigate through your computer's content (media, folders, applications, etc.) without a visual user interface. It allows you to type text commands to perform specific tasks. Since you can directly control the computer by typing, many tasks can be performed more quickly, and some tasks can be automated with special commands that loop through and perform the same action on many files.
2121

22-
As a beginning programmer it's important to get familiar with it, as it will teach you how computers work: As a tool that you give instructions to. This is not any different from programming for web development; but instead of writing instructions to the computer directly, you write instructions for browsers to execute.
22+
As a beginning developer it's important to get familiar with it, as it will teach you how computers work: as tools that you give instructions to. This is not any different from programming for web development; but instead of writing instructions to the computer directly, you write instructions for browsers to execute.
2323

24-
Please install [Git for Windows](https://gitforwindows.org) which comes with
25-
an application called *Git BASH* which simulates frequently used CLI commands.
24+
Please install [Git for Windows](https://gitforwindows.org) which comes with an application called _Git BASH_ which simulates frequently used CLI commands.
2625

2726
For more information, check the following resources and code along:
2827

29-
- [Command Line Crash Course](https://www.youtube.com/watch?v=yz7nYlnXLfE)
28+
- [Understanding the Command Line for Beginners](https://learntocodewith.me/getting-started/topics/command-line/)
3029
- [A Command Line Primer for Beginners](https://lifehacker.com/a-command-line-primer-for-beginners-5633909)
30+
- [Command Line Crash Course](https://www.youtube.com/watch?v=yz7nYlnXLfE)
3131

3232
## 2. Introduction to HTML
3333

3434
### Crash course
3535

3636
HTML is the foundation of web development. It is an acronym for **HyperText Markup Language**. It is used to structure content on a webpage. What do we mean by content? Plain text, images, videos, links to other websites, etc. The structure gives content meaning by defining that content as, for example, headings, paragraphs, or images.
3737

38-
In order to learn HTML properly it's important to know what is is. Go through the following video to learn more about it:
38+
In order to learn HTML properly it's important to know what is is. Go through the following resources to learn more about it:
3939

40+
- [HTML5 Basics - History of HTML](https://www.youtube.com/watch?v=NzzGt7EmXVw)
4041
- [HTML Crash Course](https://www.youtube.com/watch?v=UB1O30fR-EE)
4142

4243
### The commonly used tags
@@ -55,7 +56,10 @@ Semantic HTML are HTML tags that introduce meaning to the web page rather than j
5556

5657
This leads to the following insight about writing code: while code is written to produce working software, it should also be written so **other developers can easily read and understand it**. You'll learn more about that later.
5758

58-
Take a look at the following resource to learn more about semantic HTML: [Semantic HTML](https://internetingishard.com/html-and-css/semantic-html/)
59+
Take a look at the following resources to learn more about semantic HTML:
60+
61+
- [Semantic HTML](https://internetingishard.com/html-and-css/semantic-html/)
62+
- [HTML5 as Fast as Possible](https://www.youtube.com/watch?v=IsXEVQRaTX8)
5963

6064
## 3. Introduction to CSS
6165

@@ -72,8 +76,8 @@ Go through the following video to get a firmer foundation:
7276
There are 3 basic ways to write CSS:
7377

7478
- In an external stylesheet: a `.css` file, that is linked to a `.html` file.
75-
- In the <head> of a `.html` file. This is done using the `<style>` tag.
76-
- As part of the attribute `style` inside any HTML tag.
79+
- In the <head> of a `.html` file. This is done using the `<style>` tag. This is called an `internal stylesheet`
80+
- As part of the attribute `style` inside any HTML tag. This is called `inline styling`
7781

7882
In practice, you'll always write your CSS in separate `.css` files. This is because you want to make sure **every file has a single purpose**: an HTML file should only contain the content and structure of a page, while a stylesheet should only contain styling rules that apply to a page.
7983

0 commit comments

Comments
 (0)