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

Skip to content

Commit c3a6b21

Browse files
committed
more content copy
1 parent 5cfd6d4 commit c3a6b21

File tree

7 files changed

+190
-113
lines changed

7 files changed

+190
-113
lines changed

Week1/LESSONPLAN.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,48 @@
11
# Lesson Plan Week 1
2+
3+
## Agenda
4+
5+
The purpose of this class is to introduce to the student the most basic HTML/CSS concepts:
6+
7+
- Difference `<head>` and `<body>`
8+
- Semantic HTML5
9+
- The box model
10+
- Working with the browser
11+
12+
### Core concepts
13+
14+
1. **Difference `<head>` and `<body>`**
15+
16+
- The `<head>` holds all the page's meta-data: information about the complete webpage
17+
18+
_Show examples of what the `<head>` could hold and why: `<title>`, `<link>`, `<meta>`_
19+
20+
- The `<body>` holds all the elements that will be displayed in the browser
21+
22+
_Show examples of commonly used HTML tags: `<h1>`, `<a href="#">`, `<>`_
23+
24+
2. **Semantic HTML5**
25+
26+
- In theory a page can be constructed using only `<div>`s
27+
- Semantic tags make the code more comprehensible
28+
- It helps organize the page
29+
30+
_Show examples of semantic HTML: `<header>`, `<footer>`, `<section>`_
31+
32+
3. **The box model**
33+
34+
- Everything is a box
35+
- The "box" refers to the attributes universal to every element: `margin`, `padding`, border`
36+
- Every element pushes against one another
37+
38+
_Show example of the box model by using the browser inspector on various elements_
39+
40+
4. **Working with the browser**
41+
42+
- A browser does 2 main things: connect to the internet and make HTML viewable
43+
- Developer tools: the inspector
44+
- DOM explorer and CSS editor
45+
46+
_Show how and why to use the inspector_
47+
48+
<!-- ### Build with students -->

Week1/MAKEME.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,47 +11,51 @@
1111

1212
Before we get into coding we first have to create a folder that will hold all of our files. Follow the steps to get started:
1313

14-
1. On your `Desktop`, create a folder called `HackYourFuture`. Inside this folder you will keep all your folders, files and projects during the whole of your HackYourFuture career!
15-
2. Inside this folder, create a folder called `HYF-Module1`.
14+
1. On , create a folder called `HackYourFuture`. Inside this folder you will keep all your folders, files and projects during the whole of your HackYourFuture career!
15+
2. Inside this folder, create a folder called `HYF-Module-HTML-CSS`.
1616
3.
1717

1818
### 2. CSS Challenges
1919

20-
In order to get good fast you need to practice a lot! In the following challenges you'll work with CSS, starting from the absolute basics:
20+
In order to get good fast you need to practice a lot! In the following challenges you'll work with CSS, starting from the absolute basics to building a page:
2121

22-
-
22+
- [CSS Challenges](https://en.wikiversity.org/wiki/Web_Design/CSS_challenges): Do challenge #1 to #6.
2323

2424
### 3. Code along
2525

26-
A big part of learning web development is through learning by example. In the following video you'll learn how to build a
26+
A big part of learning web development is through learning by example. In the following video you'll learn how to build a simple website, using basic HTML & CSS:
27+
28+
- [Simple website](https://www.youtube.com/watch?v=pOwLCTkypUs)
2729

2830
### 4. PROJECT: Digital Resume
2931

30-
Every week ends with a project you have to build on your own. Instead of getting clear-cut instructions, you'll get a list of criteria that your project needs to
32+
> Every week ends with a project you have to build on your own. Instead of getting clear-cut instructions, you'll get a list of criteria that your project needs to measure up to.
3133
3234
In the following assignment you'll make your own Digital Resume. Here are the requirements that need to be fulfilled:
3335

34-
- It needs to be one webpage
35-
- Your project folder should contain two files: HTML and CSS
36-
- Include the following pieces of information:
37-
- Your personal info
38-
- A picture of you
39-
- A few lines about who you are
40-
- Education
41-
- Work experience
42-
- _Please do not include your current address, phone number and mail address, your CV will be hosted on Github_
43-
44-
When writing the HTML for your resume include the following:
45-
46-
- Different types of headings (`<h1>`, `<h2>`)
47-
- An unordered list (`<ul>`). In this list include the _learning strategies_ you used while studying. Also include some of the resources/references, this can be documentation/video etc., that were helpful.
48-
- Another unordered list (`<ul>`). In this list you include the most important platforms/resources where you can find all HackYourFuture related information.
49-
- an `<img>` tag (for the picture of you)
50-
- some `<p>` tags
51-
- Some CSS properties, like: `margin`, `padding`, `color`, etc.
36+
- It needs to be one webpage
37+
- Your project folder should contain two files: HTML and CSS
38+
- Include the following pieces of information:
39+
- Your personal information
40+
- A picture of you
41+
- A few lines about who you are
42+
- Education
43+
- Work experience
44+
45+
When writing the HTML include the following:
46+
47+
- Different types of headings, like `<h1>` and `<h2>`
48+
- An unordered list (`<ul>`). Use this to list out your educational background
49+
- Another unordered list (`<ul>`).
50+
- an `<img>` tag (for your picture)
51+
- some `<p>` tags
52+
53+
When writing the CSS include the following:
54+
55+
- Some CSS properties, like: `margin`, `padding`, `color`, etc.
5256

5357
## SUBMIT YOUR HOMEWORK!
5458

55-
After you've finished your todo list it's time to show us what you got! Go through the [guide](../hand-in-homework.md) to learn how to submit your homework.
59+
After you've finished your todo list it's time to show us what you got! Go through the [guide](../hand-in-homework-guide.md) to learn how to submit your homework.
5660

5761
_Deadline Saturday 23.59 CET_

Week1/README.md

Lines changed: 49 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,52 +6,70 @@ These are the topics for week 1:
66

77
1. What do HTML and CSS do?
88
2. Introduction to HTML:
9-
- Crash course
10-
- The essentials
11-
- Semantic HTML
9+
- Crash course
10+
- The commonly used tags
11+
- Semantic HTML
1212
3. Introduction to CSS:
13-
- Crash course
14-
- Where to write it?
15-
- The box model
16-
- The cascading effect
13+
- Crash course
14+
- Where to write it?
15+
- The box model
16+
- The cascading effect
1717
4. Working with the browser
18-
- What is a web browser?
19-
- Choosing the right web browser
20-
- How to use the inspector
18+
- What is a web browser?
19+
- Choosing the right web browser
20+
- How to use the inspector
2121

2222
## 1. What do HTML and CSS do?
2323

2424
HTML 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 or links to other websites, for example. The structure gives content structure and meaning by defining that content as, for example, headings, paragraphs, or images.
2525

2626
CSS is an acronym for **Cascading Style Sheets**. It is a language created to change the appearance of content. By referring to the HTML tags you can `style` it in various ways: change the font size, increase the height or attach a background image to it.
2727

28-
The two languages—HTML and CSS—are independent of one another and should remain that way. CSS should not be written inside of an HTML document and vice versa. As a rule, HTML will always represent content, and CSS will always represent the appearance of that content.
28+
The two languages —HTML and CSS— are independent of one another and should remain that way. CSS should not be written inside of an HTML document and vice versa. As a rule, HTML will always represent content, and CSS will always represent the appearance of that content.
2929

3030
The products of HTML and CSS comprise a two-thirds of what is called `frontend` (the final third is client-side JavaScript, which you will learn about in later modules). What is frontend? It's another word for the presentational part of a piece of software. In terms of web development we're talking about "what you see" when you go to any website.
3131

3232
## 2. Introduction to HTML
3333

3434
### Crash course
3535

36-
HTML is the foundation of web development. In order to learn this properly it's important to know
36+
HTML is the foundation of web development. In order to learn this properly it's important to know what is is. Go through the following video to learn about it:
3737

38-
- [HTML Crash Course](https://www.youtube.com/watch?v=UB1O30fR-EE)
38+
- [HTML Crash Course](https://www.youtube.com/watch?v=UB1O30fR-EE)
3939

4040
### The commonly used tags
4141

4242
If at any point you came to believe you would have to learn a whole list of tags by heart in order to write great HTML, you are in luck: that's not needed.
4343

44-
### Further research
44+
The most important thing to know is that the tags are used to **structure content**, or in other words: to decide how each part is organized in order to more easily understand what the page is trying to communicate.
45+
46+
It's useful to memorize this list, but don't feel like you have to learn and memorize _every_ HTML tag. Once you understand the basic gist, you can easily look up what you need to fit your need in the moment.
47+
48+
Check out the following article to find a list of the most commonly used tags: [The Most Commonly Used Tags](https://www.geeksforgeeks.org/most-commonly-used-tags-in-html/)
49+
50+
## Semantic HTML
51+
52+
Semantic HTML are HTML tags that introduce meaning to the web page rather than just presentation. For example, a <p> tag indicates that the enclosed text is a paragraph. A <nav> tag indicates a navigation menu of some kind. Both examples show both meaning and structure, easier for both the browser and the developer to understand.
53+
54+
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 in later lessons.
55+
56+
Take a look at the following resource to learn more about semantic HTML: [Semantic HTML](https://internetingishard.com/html-and-css/semantic-html/)
4557

4658
## 3. Introduction to CSS
4759

60+
### Crash course
61+
62+
CSS is just as important as HTML. Go through the following video to get a firm foundation:
63+
64+
- [CSS Crash Course](https://www.youtube.com/watch?v=yfoY53QXEnI)
65+
4866
### Where to write it?
4967

5068
There are 3 basic ways to write CSS:
5169

52-
- In an external stylesheet: a `.css` file, that is linked to a `.html` file.
53-
- In the <head> of a `.html` file. This is done using the <style> tag.
54-
- As part of the attribute `style` inside any HTML tag.
70+
- In an external stylesheet: a `.css` file, that is linked to a `.html` file.
71+
- In the <head> of a `.html` file. This is done using the <style> tag.
72+
- As part of the attribute `style` inside any HTML tag.
5573

5674
As a rule, you want to 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.
5775

@@ -71,8 +89,8 @@ you write CSS rules.
7189

7290
Read the following articles to learn about it:
7391

74-
- [The "C" in CSS](https://css-tricks.com/the-c-in-css-the-cascade/).
75-
- [How CSS works: understanding the cascade](https://blog.logrocket.com/how-css-works-understanding-the-cascade-d181cd89a4d8)
92+
- [The "C" in CSS](https://css-tricks.com/the-c-in-css-the-cascade/).
93+
- [How CSS works: understanding the cascade](https://blog.logrocket.com/how-css-works-understanding-the-cascade-d181cd89a4d8)
7694

7795
## 4. Working with the browser
7896

@@ -84,34 +102,34 @@ A web browser is software that allows you view websites, either retrieved from t
84102

85103
For further study, watch the following:
86104

87-
- [What is a browser?](https://www.youtube.com/watch?v=TcbhVv9ty44)
88-
- [How web browsers work](https://www.youtube.com/watch?v=WjDrMKZWCt0)
105+
- [What is a browser?](https://www.youtube.com/watch?v=TcbhVv9ty44)
106+
- [How web browsers work](https://www.youtube.com/watch?v=WjDrMKZWCt0)
89107

90108
Read:
91109

92-
- [About your web browser](http://www.allaboutcookies.org/browsers/)
110+
- [About your web browser](http://www.allaboutcookies.org/browsers/)
93111

94112
### Choosing the right browser
95113

96114
As a web developer you will write code that will display in browsers. As such it is important that you get familiar with most major browsers in use today. These are:
97115

98-
- [Internet Explorer](https://support.microsoft.com/en-us/help/17621/internet-explorer-downloads)
99-
- [Google Chrome](https://www.google.com/chrome/)
100-
- [Safari](https://support.apple.com/downloads/safari)
101-
- [Mozilla Firefox](https://www.mozilla.org/en-GB/firefox/new/)
102-
- [Microsoft Edge](https://www.microsoft.com/en-us/windows/microsoft-edge) (Not available for Mac/Linux yet)
103-
- [Opera](https://www.opera.com/download)
116+
- [Internet Explorer](https://support.microsoft.com/en-us/help/17621/internet-explorer-downloads)
117+
- [Google Chrome](https://www.google.com/chrome/)
118+
- [Safari](https://support.apple.com/downloads/safari)
119+
- [Mozilla Firefox](https://www.mozilla.org/en-GB/firefox/new/)
120+
- [Microsoft Edge](https://www.microsoft.com/en-us/windows/microsoft-edge) (Not available for Mac/Linux yet)
121+
- [Opera](https://www.opera.com/download)
104122

105123
In your HackYourFuture journey you'll mainly be using **Google Chrome** when developing, as is has great developer tools that allow us to develop web applications in an easy and clear way.
106124

107125
### How to use the browser inspector :mag:
108126

109-
The inspector is part of browsers developers can use to take a closer look at the
127+
The inspector is part of browsers developers can use to take a closer look at the composition of the HTML elements. This makes it easier to write correct HTML and CSS code that works.
110128

111129
Watch the following video and follow along:
112130

113-
- [Google Chrome Developer Tools Crash Course](https://www.youtube.com/watch?v=x4q86IjJFag)
131+
- [Google Chrome Developer Tools Crash Course](https://www.youtube.com/watch?v=x4q86IjJFag)
114132

115133
## Finished?
116134

117-
Are you finished with going through the materials? Nice job!!! If you feel ready to get practical, click [here](./MAKEME.md)
135+
Are you finished with going through the materials? Nice job!!! If you feel ready to get practical, click [here](./MAKEME.md).

Week2/MAKEME.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,41 @@
1111

1212
### 2. Responsive design challenges
1313

14-
In the following mini-course you'll learn all about how to make your website `responsive`; how to make it change the size of elements while still looking good.
14+
Making websites that are `responsive` to a variety of device sizes (in other words, that still "look good" on any device), has become the standard way of building. You have to learn how to do this to. However, fear not because it's not as intimating as it might seem; you're not going to build a separete page for literally every device size out there.
1515

16-
- [Learn Responsive Design](https://www.codecademy.com/learn/learn-responsive-design)
16+
Instead, you'll be applying certain CSS rules only to certain device sizes. In the following two mini-courses you'll get some practice in:
17+
18+
- [Learn Responsive Design](https://www.codecademy.com/learn/learn-responsive-design)
19+
- [Responsive Web Design Challenges](https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/)
1720

1821
### 3. Code along
1922

20-
[Build An HTML5 Website With A Responsive Layout](https://www.youtube.com/watch?v=Wm6CUkswsNw)
23+
In the following video you'll be rebuilding a responsive HTML5 website. Put your focus on how the structure of the page is built:
24+
25+
First HTML to provide structure & content, and then CSS. Look at the HTML tags used and the names given to classes.
2126

22-
### 4. PROJECT: Responsive website
27+
- [Build An HTML5 Website With A Responsive Layout](https://www.youtube.com/watch?v=Wm6CUkswsNw)
28+
29+
### 4. PROJECT: Drones website
2330

2431
https://www.html5webtemplates.co.uk/templates/simplestyle_purple/index.html
2532

26-
- Grids exercise
27-
- Download the HTML and images in the folder Homework 2 ([or click this link to download](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/homework2))
28-
- You are going to write the CSS for this page
29-
- You are not allowed to change the HTML
30-
- The page contains two grids: the first one should work using floats, the second using flex box. Be careful not to mix the two!
31-
- We want the grid to look as follows (check the wireframe below):
32-
- On mobile phones: a two column grid, with the exception that the first item spans the full width
33-
- On tablets: a three column grid, with the exception that the first two items span the full width together (so first we have two columns, then after the first two items we have three columns)
34-
- On desktops: a four column grid, with the exception that the first item spans two columns.
35-
- There should be some space between the grid items
36-
- Make the page look beautiful by adding some more CSS! Some tips:
37-
- How about some nice colors, fonts, hover styles?
38-
- According to the grid specification, some products are bigger than others. Maybe these are "highlighted" products, so the rest of the styling could also be different.
39-
- BEFORE you hand it in, read [the Style guide](http://www.w3schools.com/html/html5_syntax.asp) again and check your files
40-
41-
_Deadline Saturday_
33+
- Grids exercise
34+
- Download the HTML and images in the folder Homework 2 ([or click this link to download](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/homework2))
35+
- You are going to write the CSS for this page
36+
- **You are not allowed to change the HTML**
37+
- The page contains two grids: the first one should work using floats, the second using flex box. Be careful not to mix the two!
38+
- We want the grid to look as follows (check the wireframe below):
39+
- On mobile phones (smaller than 600px): a two column grid, with the exception that the first item spans the full width
40+
- On tablets (between 600px and 1024px): a three column grid, with the exception that the first two items span the full width together (so first we have two columns, then after the first two items we have three columns)
41+
- On desktops (1024px and up): a four column grid, with the exception that the first item spans two columns.
42+
- There should be some space between the grid items
43+
- Make the page look beautiful by adding some more CSS! Some tips:
44+
- How about some nice colors, fonts, hover styles?
45+
- According to the grid specification, some products are bigger than others. Maybe these are "highlighted" products, so the rest of the styling could also be different.
4246

4347
![Wireframe](assets/wireframe.png)
4448

45-
```
46-
How to hand in your homework:
47-
• Upload your homework in your Github repository.
48-
• Make sure to create a new folder "week2" first.
49-
• Your hyf-html-css/week2 should now contain an index.html and a main.css file (and the images folder)
50-
• Place the link to your repository in Trello.
51-
```
49+
## SUBMIT YOUR HOMEWORK!
50+
51+
After you've finished your todo list it's time to show us what you got! Go through the [guide](../hand-in-homework-guide.md) to learn how to submit your homework.

0 commit comments

Comments
 (0)