Skip to content

Commit 75dd8fc

Browse files
committed
renamed homework w2
1 parent 19c7fe9 commit 75dd8fc

14 files changed

Lines changed: 81 additions & 48 deletions

File tree

Week2/LESSONPLAN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ FIRST HALF (12.00 - 13.30)
2222
- Imagine having written complex code that messed everything up, GIT allow us to return to a previous state where everything was still working
2323
- It can be used through the command line interface (CLI) or using a graphical user interface (also known as GUI): SourceTree
2424

25+
_Create a new local repository and tell students to do the same_
26+
27+
_Show the hidden file `.git` in the folder_
28+
29+
-
30+
2531
SECOND HALF (14.00 - 16.00)
2632

2733
1. **Grid-based thinking and Flexbox**

Week2/MAKEME.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,42 @@ The next exercise is a short interactive course, that will take you through the
2323

2424
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.
2525

26-
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:
26+
Instead, you'll be applying certain CSS rules only to certain device sizes: the average desktop (1024px and more), the average tablet (between 600px and 1024px) and the average mobile device (600px and below).
27+
28+
In the following two mini-courses you'll get some practice in doing this:
2729

2830
- [Learn Responsive Design](https://www.codecademy.com/learn/learn-responsive-design)
2931
- [Responsive Web Design Challenges](https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/)
3032

3133
### 3. Code along
3234

33-
In the following video you'll be rebuilding a responsive HTML5 website. Put your focus on how the structure of the page is built:
34-
35-
First HTML to provide structure & content, and then CSS. Look at the HTML tags used and the names given to classes.
35+
In the following video you'll be rebuilding a responsive HTML5 website. Put your focus on how the structure of the page is built: First HTML to provide structure & content, and then the CSS. Look at the HTML tags used and the names given to classes.
3636

3737
- [Build An HTML5 Website With A Responsive Layout](https://www.youtube.com/watch?v=Wm6CUkswsNw)
3838

39-
The second website you're going to build revolves around using flexbox.
40-
4139
### 4. PROJECT: Drones website
4240

43-
https://www.html5webtemplates.co.uk/templates/simplestyle_purple/index.html
44-
45-
- Grids exercise
46-
- 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))
47-
- You are going to write the CSS for this page
48-
- **You are not allowed to change the HTML**
49-
- The page contains two grids: the first one should work using floats, the second using flex box. Be careful not to mix the two!
50-
- We want the grid to look as follows (check the wireframe below):
51-
- On mobile phones (smaller than 600px): a two column grid, with the exception that the first item spans the full width
52-
- 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)
53-
- On desktops (1024px and up): a four column grid, with the exception that the first item spans two columns.
54-
- There should be some space between the grid items
55-
- Make the page look beautiful by adding some more CSS! Some tips:
56-
- How about some nice colors, fonts, hover styles?
57-
- 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.
58-
59-
![Wireframe](assets/wireframe.png)
41+
In this project you'll be building on an existing project. It's your job to make it `responsive` and look organised on various devices.
42+
43+
Start off by downloading the HTML and images in the following [folder](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/homework).
44+
45+
You are going to write the CSS for this page, **it is not allowed to change the HTML**.
46+
47+
The page contains two grids: the first one should work using `floats`, the second using `flexbox`. Be careful not to mix the two!
48+
49+
Other than that you should use `media queries`. Here are the requirements for each device size:
50+
51+
- On mobile phones (smaller than 600px): a two column grid, with the exception that the first item spans the full width
52+
- 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)
53+
- On desktops (1024px and up): a four column grid, with the exception that the first item spans two columns. - There should be some `margin` between the grid items
54+
55+
Make the page look beautiful by adding some more CSS! Include CSS rules for:
56+
57+
- `hover states` for buttons
58+
- A distinct `font-family`, found from [Google Fonts](https://fonts.google.com/). Include using the `font-face` [rule](https://css-tricks.com/snippets/css/using-font-face/)
59+
- animation using `transition`
60+
61+
> Tip: Use GIT and GitHub along the way, you can easily use this project as part of your portfolio!
6062
6163
## SUBMIT YOUR HOMEWORK!
6264

Week2/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@ GitHub is **NOT the same** as GIT. While GIT is software that allows you to keep
8787

8888
- [What is GitHub?](https://www.youtube.com/watch?v=w3jLJU7DT5E)
8989

90-
We use GitHub because of its main benefit: it allows us to freely store our code online (or "remote", as we developers also call it). This is useful in case our computer, for some reason, crashes and our projects are lost.
90+
We use GitHub because of its main benefit: it allows us to freely store our code online (or "remote", as we developers also call it). This is useful, for example, in case our computer crashes and our projects are lost.
9191

92-
The second benefit is that it allows us to work together with other developers, using one central (and remote) repository. This is done using branches, which you will learn about [next week](../Week3/README.me).
92+
The second benefit of using an online code storage is that it allows us to work together with other developers, using one central (and remote) repository. This is done using branches, which you will learn about [next week](../Week3/README.me).
93+
94+
- [GIT Good: A Practical Introduction to GIT and GitHub](https://codeburst.io/git-good-part-a-e0d826286a2a)
9395

9496
### Working with SSH
9597

0 commit comments

Comments
 (0)