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

Skip to content

Commit f3c9cf2

Browse files
committed
added cli to html/css module
1 parent c75686e commit f3c9cf2

File tree

6 files changed

+91
-9
lines changed

6 files changed

+91
-9
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
1-
# HTML-CSS
1+
# HTML-CSS and Command Line
22

33
## Introduction
44

55
In this module you will learn HTML and CSS. HTML is the language in which you define the structure of the content of your pages (e.g. headings, paragraphs, links and images). CSS is used to write down how everything should look (e.g. font sizes, colors and positions). While learning the basics of these two languages, you will also get familiar with text editors and the developer tools of your browser.
66

77
We will focus on _responsive_ web development : you will learn how to make your website adapt to the size of the screen, using the _mobile first_ approach. As well as the _accessibility_ part of it, by adpoting ARIA (Accessible Rich Internet Applications) as part of our dicipline. ARIA defines ways to make Web content and Web applications (especially those developed with Ajax and JavaScript) more accessible to people with disabilities. Last but not least we will spend time practicing some soft skills that are important for becoming a good developer. These include: giving feedback to your colleagues, presenting and explaining your work, and finding documentation on the web.
88

9+
## Command line
10+
11+
The command line (cli, shell) is the interface between you (the user) and the operating system which interprets your commands and allows the computer to respond to your command. In this module you will be introduced to the command line, in this module we will mainly use it to navigate our file system and creating files. Throughout the entire program you will have to use these skills and build on top of it.
12+
913
So since this is your first module, what can you expect the next three weeks?
1014

1115
## Planning for Current Class
1216
| Week | Topic | Read | Homework | Review |
1317
| ---- | ----- | ---- |----------|--------|
1418
|0.|Prepare for first session|[Pre-reading](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week0)|-|-|
1519
| 1. | DOM, HTML/CSS syntax | [Week 1 Reading](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week1/README.md) | [Homework week 1](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week1/MAKEME.md) |[Review](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week1/REVIEW.md)|
16-
| 2. | Responsive design, media queries, developer tools | [Week 2 Reading](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/README.md) | [Homework week 2](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/MAKEME.md) ||[Review](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/REVIEW.md)|
17-
| 3. | Recap, useful resources on the web| [JavaScript Intro](https://github.com/HackYourFuture/JavaScript/tree/laurens_thomas/Week0) | [Homework week 3](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week3/MAKEME.md) ||[Review](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week3/REVIEW.md)|
20+
| 2. | [CLI](https://github.com/HackYourFuture/CommandLine/blob/master/Lecture-1.md), Responsive design, media queries, developer tools | [Week 2 Reading](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/README.md) | [Homework week 2](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/MAKEME.md) ||[Review](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/REVIEW.md)|
21+
| 3. | [CLI](https://github.com/HackYourFuture/CommandLine/blob/master/Lecture-2.md), Recap, useful resources on the web| [JavaScript Intro](https://github.com/HackYourFuture/JavaScript/tree/laurens_thomas/Week0) | [Homework week 3](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week3/MAKEME.md) ||[Review](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week3/REVIEW.md)|
1822

1923
Please get yourself familiar with this repository by navigating your way through the different README files. Kind note: make sure to read assignment requirements properly for handing them in, in the end this saves both you and your teacher a lot of time. If you have any questions or something is not entirely clear ¯\\\_(ツ)_/¯, please ask/comment on Slack!
2024

21-
## Learning goals for this module:
25+
## Learning goals for HTML-CSS:
2226
```
2327
• Basic understanding of HTML and CSS
2428
• Know how to organize your files
@@ -33,6 +37,15 @@ Please get yourself familiar with this repository by navigating your way through
3337
• Presenting and explaining your work to others
3438
```
3539

40+
## Learning goals for CLI
41+
```
42+
• To know the terminal/bash/command line for UNIX based systems.
43+
• Navigate the file system without using a UI explorer.
44+
• Copy, rename and move files with terminal commands.
45+
• Learn output redirection, piping on the terminal.
46+
• Write basic shell scripts to ease the programming life.
47+
```
48+
3649

3750

3851

Week1/MAKEME.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ Read about [HTML5](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5
3737
- [MDN - CSS box model](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model)
3838

3939
## Step 2: Give feedback
40+
41+
_Deadline Monday_
42+
4043
- In Trello, you are assigned to one of the cards of your fellow students (in the Class11 Week0 HTML/CSS list). Give feedback on the application assignment of your fellow student. Please be critical but most of all give constructive feedback. If there are resources that you used and might be useful, share them.
4144
- revisit you own application assignment and improve it with the feedback and suggestions given by one of your classmates.
4245

4346
> Don't forget, you can always revisit Khan Academy: [Into to HTML/CSS: Making web pages](https://nl.khanacademy.org/computing/computer-programming/html-css) if you are stuck and need a reminder
4447
4548
## Step 3: Assignment
49+
50+
_Deadline Saturday_
51+
4652
- Make your own web resume:
4753
- One page
4854
- Two files: HTML and CSS
@@ -82,4 +88,3 @@ _Steps_:
8288
### Fun to check out:
8389
[Shapes of CSS](https://css-tricks.com/examples/ShapesOfCSS/)
8490

85-
#### Last but not least, when you are done with the homework check the learning goals at the top of this document. Go through each of them and check if you understand what is written there. Try formulating them into questions and answer your own questions (for example: Wat does it mean when you say that there is a division of labor between HTML and CSS? Why is there a division of labor between HTML and CSS?). If you need help with this, first ask Google, than ask in Slack.

Week1/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@
22

33
```
44
In week two we will discuss the following topics
5+
• CLI
6+
• To know the terminal/bash/command line for UNIX based systems.
7+
• Navigate the file system without using a UI explorer.
8+
• Copy, rename and move files with terminal commands.
59
• Responsive web design
610
• Media queries
711
• Flexbox
812
• How to use the inspector
913
```
1014

15+
### Install GitBash if you have a windows machine.
16+
17+
If you have *Windows machines*, please follow the following link and install GitBash https://github.com/git-for-windows/git/releases/tag/v2.10.2.windows.1
18+
19+
If you have Linux installed on your laptop or you have a MACbook, then you don’t need to do anything. See you this Sunday.
20+
21+
1122
### Here are resources that we like you to read as a preparation for the coming lecture:
1223
- Start reading about media queries here: [Introduction to Media Queries](https://varvy.com/mobile/media-queries.html).
1324
- And read about [flexbox](https://tympanus.net/codrops/css_reference/flexbox/)

Week2/MAKEME.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
55
### Learning goals for this week:
66
```
7+
• CLI
8+
• To know the terminal/bash/command line for UNIX based systems.
9+
• Navigate the file system without using a UI explorer.
10+
• Copy, rename and move files with terminal commands.
711
• Student presentations
812
• Last week recap and questions
913
• Responsive web development
@@ -16,9 +20,35 @@
1620
```
1721

1822
## Step 1: Give feedback:
23+
24+
_Deadline Monday_
25+
1926
- In Trello you are added to one of the cards of your fellow students.
20-
- Give feedback on the application assignment of your fellow student. Please be critical but most of all give constructive feedback. If there are resources that you used and might be useful, share them.
21-
- revisit you own application assignment and improve it with the feedback and suggestions given by one of your classmates.
27+
- Give feedback CV assignment of one of your fellow student. Please be critical but most of all give constructive feedback. If there are resources that you used and might be useful, share them.
28+
- Revisit you own CV assignment and improve it with the feedback and suggestions given by one of your classmates.
29+
30+
## Step 2: Command Line
31+
32+
_Deadline Tuesday_
33+
34+
>We covered a bit of command line usage in the first class and got a program running which is great. If you need a refresher for the command line please have a look here: https://github.com/HackYourFuture/CommandLine
35+
36+
1. Create a `.js` file that prints `Hello` when you run it from the command line. (Hint: `node` is the program that can run your JavaScript files.)
37+
38+
```
39+
Write commands to do following:
40+
1. create a directory. Enter a directory. Create an empty file named blank.
41+
2. Then write the content `"Hello"` five times to the file greetings.txt.
42+
Then copy the file greetings.txt and paste its contents into 1.txt, 2.txt, 3.txt, 4.txt and 5.txt.
43+
3. Then write the text "cat" to pets.txt
44+
Then append the text "dog" to pets.txt
45+
Then append the text "hamster" to pets.txt
46+
4. Then write the text "cat" to commands.txt
47+
Then append the text "ls" to commands.txt
48+
Then append the text "pwd" to commands.txt
49+
5. Then find unique strings from these two files pets.txt and commands.txt
50+
and store the unique strings in lovelyCommands.txt
51+
```
2252

2353
## Step 2: Read/do/watch
2454
- [Introduction to media queries](https://teamtreehouse.com/library/css3/media-queries/introduction)
@@ -35,6 +65,11 @@
3565
- [cssgridgarden](http://cssgridgarden.com/)
3666

3767
## Step 3: Assignment:
68+
69+
_Deadline Saturday_
70+
71+
> Use the command line to create a directory "week2" inside your hyf-html-css directory. There should already be a week1 inside that contains your homework of last week.
72+
3873
- Grids exercise
3974
- Download the HTML and images in the folder Homework 2
4075
- You are going to write the CSS for this page

Week2/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
```
44
In week two we will discuss the following topics
5+
• CLI
6+
• Learn output redirection, piping on the terminal.
7+
• Write basic shell scripts to ease the programming life.
58
• Recap
69
• How to find useful resources on the web
710
```

Week3/MAKEME.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
55
### Learning goals for this week:
66
```
7+
• CLI
8+
• Learn output redirection, piping on the terminal.
9+
• Write basic shell scripts to ease the programming life.
710
• Student presentations
811
• Last week recap and questions
912
• How to find information on the web
@@ -20,9 +23,20 @@
2023
- flex-box
2124

2225
## Step 1: Give feedback
23-
> TODO
26+
27+
_Deadline Monday_
28+
29+
- In Trello you are added to one of the cards of your fellow students.
30+
- Give feedback on the drone assignment and the command line homework of your fellow student. Please be critical but most of all give constructive feedback. If there are resources that you used and might be useful, share them.
31+
- Revisit you own drone assignment and command line homework and improve it with the feedback and suggestions given by one of your classmates.
32+
2433

2534
## Step 2: Assignment
35+
36+
_Deadline Saturday_
37+
38+
> Use the command line to create a directory "week3" inside your "hyf-html-css" directory. There should already be a "week1" and "week2" inside that contains your homework of the last weeks.
39+
2640
- Remake an existing responsive website: choose one of the following
2741
- https://www.rijksoverheid.nl
2842
- http://www.awwwards.com
@@ -37,7 +51,8 @@
3751

3852
```
3953
How to hand in your homework:
40-
• Upload your homework in your Github repository. Make sure to create a new folder "week3" first.
54+
• Upload your homework in your Github repository.
55+
• Make sure to create a new folder "week3" first.
4156
• Your hyf-html-css/week3 should now contain an index.html and a main.css file (and the images folder)
4257
• Place the link to your repository in Trello.
4358
```

0 commit comments

Comments
 (0)