From a5f2ba9dd7b3d6e108e22401237ef57b5bc670cd Mon Sep 17 00:00:00 2001 From: robvk Date: Wed, 7 Apr 2021 14:16:07 +0200 Subject: [PATCH 01/49] Update MAKEME.md Put the image for the flexbox exercise in the right place --- Week2/MAKEME.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Week2/MAKEME.md b/Week2/MAKEME.md index 6a8a840..fd7034a 100644 --- a/Week2/MAKEME.md +++ b/Week2/MAKEME.md @@ -57,6 +57,10 @@ Other than that you should use `media queries`. Here are the requirements for ea - 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) - 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 +So that it works like this: + +![](./assets/wireframe.png) + Make the page look beautiful by adding some more CSS! Include CSS rules for: - `hover` states for the grid elements, to indicate to the user that they're looking at that specific drone From 59d651902e769dc58dc70f22401930c96f783e7a Mon Sep 17 00:00:00 2001 From: robvk Date: Wed, 7 Apr 2021 21:06:53 +0200 Subject: [PATCH 02/49] align picture with text --- Week2/assets/wireframe.png | Bin 11425 -> 11863 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Week2/assets/wireframe.png b/Week2/assets/wireframe.png index a4b2fb2f5ff411cfe006f6e3ffdf9d92ea9bc960..d492a2ae78cfd6fe16f50b55b80ea56ceecce1de 100644 GIT binary patch literal 11863 zcmeHtWmJ^i*EcC83X+1r01}EYA_z#1v?8IDv`QllQbWy+3K9}3prlG8UDBwO(jYNN z2t%jj&^%{A7@qb1zr1U`@3Ypk)~z47IGnSuy??v+xn8KLD3FsfkmBIrkl#|2y@!K? z&xV78dyn`OSUL0OaWVKoV185iCJs(sDA~?KLh!q+>HS+~%E~yG!80)q9_~3DeDH(| z{^R&t;t(7>T-ZppK=+edqhicSMctZ1^6U z*gZ1kbF;C>Y`_tB69tbprp^x`ZZ_7oPNHrSYzI3;!82wV$_6>u;`~^G?Y^=aM8?k1 z6e7fTm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M2Sg0iu_rrBRA;St-s9DDqiOOoE5kS=oN-7AUy;}8LH0)C{3QS!^VdLI~`RCV-BK zx*msAmjtZ~qz_$$^PkK}#Lz^tO&iVL#4`jI;s!4jhn_K-fwN0CZ%A-iNACmtG-&Y? v#LJ}~LoWZW`zD;^H%0@?8@LztNCi%#%Ki!S{|4MSCQ-enp_HX?=jnd{0w!!B From d006d056adf8b11df9f9cd3f7cee82d2a6fbbf6f Mon Sep 17 00:00:00 2001 From: Cristian Macoviciuc Date: Sun, 11 Apr 2021 09:31:58 +0200 Subject: [PATCH 03/49] Update README.md Replaced broken url for Trello logo, fixed typos, inconsistent formatting --- Week0/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Week0/README.md b/Week0/README.md index bd8a097..d88b3e4 100644 --- a/Week0/README.md +++ b/Week0/README.md @@ -49,7 +49,7 @@ Done? This is optional, but for those who are curious: 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. -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. +Depending on the programming language, the code editor highlights special keywords, gives suggestions to some extent, adds automatic indentation and sometimes has an integrated command line interface (more on that in the next section) as well. 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: @@ -74,9 +74,9 @@ For more specific information on how to setup your editor: ### What's the way to submit my homework? Use planning tool Trello
-Slack Video
+Trello Video
-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. Before you start your first class, please do the following +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. Before you start your first class, please do the following: - [Register](https://trello.com/signup) for an account - Get access to the `Feedback Assignments` board, by asking @Wouter in Slack @@ -91,7 +91,7 @@ GitHub is a place where you can put your code online. Why? To safely store your - [Register](https://github.com/join) for an account - Put the URL for your account in the class channel -### Check double check: +### Check double check Let's make sure you have done everything necessary: From 319ad44426c55c5585cd589d2a6058efa0c88e97 Mon Sep 17 00:00:00 2001 From: Arco Date: Thu, 15 Apr 2021 16:33:10 +0200 Subject: [PATCH 04/49] Ad to prettier installation instruction to enable 'format on save' so that code actually gets formatted --- Week0/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Week0/README.md b/Week0/README.md index d88b3e4..d7de0ec 100644 --- a/Week0/README.md +++ b/Week0/README.md @@ -65,7 +65,7 @@ We can always improve what we have, including our code editor! We can add `plugi - [Syntax Highlighter](https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter) - [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) -- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) +- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Make sure to enable 'Format on save' in the Visual Studio Code settings after installing this plugin) For more specific information on how to setup your editor: From 14696f9f05b790c5441dd376eebe6924ad92f83e Mon Sep 17 00:00:00 2001 From: Tomas van Rijsse Date: Thu, 17 Jun 2021 21:24:54 +0200 Subject: [PATCH 05/49] add information about markdown --- Week2/MAKEME.md | 7 ++++--- Week2/README.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/Week2/MAKEME.md b/Week2/MAKEME.md index fd7034a..f831ecc 100644 --- a/Week2/MAKEME.md +++ b/Week2/MAKEME.md @@ -19,9 +19,10 @@ 1. Create a repository on Github called favorite-cmd-commands, make sure to check the checkmark about including a README file 2. Clone that repository (Google how to clone a repository). -3. Create a file `YOUR_NAME-commands.txt`. -4. Add bash commands that you like (at least 3). Provide a short description (20 characters~) for each. -5. Then `git add`, `git commit` and `git push` the file to your GitHub repository. +3. Edit the `README.md` markdown file. +4. Add bash commands that you like (at least 3) and style them as headers. +5. Provide a short description (20 characters~) for each. +6. Then `git add`, `git commit` and `git push` the file to your GitHub repository. ### 2. Responsive design challenges diff --git a/Week2/README.md b/Week2/README.md index a8f3631..cd2a481 100644 --- a/Week2/README.md +++ b/Week2/README.md @@ -14,6 +14,7 @@ These are the topics for week 2: - Flexible organizing with flexbox - Pseudo class selectors - Responsive design with media queries +3. Markdown ## 0. Video Lectures @@ -190,6 +191,44 @@ Learn more about media queries here: - [Introduction to Media Queries](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Media_queries). - [Learn CSS Media Query in 7 Minutes](https://www.youtube.com/watch?v=yU7jJ3NbPdA) +## 3. Markdown + +As you've probably seen, every project on GitHub comes with a file called `README.md` +This readme file is used in general to outline the goal of the project and usually includes some code examples. + +Even the page you are reading now is also created using Markdown. + +Markdown is not a syntax that browsers understand, it is however really simple to write and read with any text editor. +Many online GIT platforms, like GitHub, will parse Markdown files and display them as pretty HTML pages. +Another good example on Markdown support is Slack. You can style your Slack messages using Markdown! + +A few examples of what you can do with Markdown: + +| HTML | Markdown +| ------------- |------------- +| H1 | `# title` +| H2 | `## title` +| *Emphasis* | `*italic` +| **Bold** | `**bold**` +| ~~Strikethrough~~~ | `~~Scratch this.~~` +| [Link](#) | `[link text](https://somewhere)` +| `

Single line of code

` | `` use single `backticks` around your code`` + +If you want to show a bigger block of code, you start and end with 3 backticks +````markdown +``` + + ... + ... + +``` +```` + +With Markdown you can to more things like images, list, checklists, tables and more. +If you want to learn more about Markdown you could check these sources: +- [Markdown Crash Course](https://www.youtube.com/watch?v=HUBNt18RFbo) +- [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) + ## Finished? Are you finished with going through the materials? Nice job!!! If you feel ready to get practical, click [here](./MAKEME.md). From 0ddc553a1bc358fa37df2187cded365c557caa90 Mon Sep 17 00:00:00 2001 From: Tomas van Rijsse Date: Thu, 17 Jun 2021 22:20:49 +0200 Subject: [PATCH 06/49] Update MAKEME.md Fix confusion of adding a repo inside another repo --- Week3/MAKEME.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Week3/MAKEME.md b/Week3/MAKEME.md index 81f5121..6f19f42 100644 --- a/Week3/MAKEME.md +++ b/Week3/MAKEME.md @@ -17,8 +17,6 @@ We'll start the week off with some more GIT practice! Go through the following: ### 2. GIT exercises -> Before you start any of the exercises, make sure to create a folder on your desktop that will hold all of your exercise files. Go inside the `hyf-html-exercises` folder. Inside, create a `week3` folder and will hold this week's exercise files inside. - #### `animals` repository > Tip: make use of the CLI to practice your GIT skills. This not only teaches you how GIT works, but also how to work like a real software developer! @@ -59,6 +57,8 @@ In this code along you'll continue practicing your skill using MaterializeCSS. I ### 5. PROJECT: Responsive website +> Before you start this exercises, make sure to create a folder inside the `hyf-html-exercises` folder. Create a `week3` folder and put this exercise files inside. + > Tip: Use GIT and GitHub along the way, you can easily use this project as part of your portfolio! In this project you're going to rebuild `the homepage` of an existing responsive website. Choose one of the following: From 0b3d6c0887aa10e74f58af5928f9b66cea068063 Mon Sep 17 00:00:00 2001 From: robvk Date: Sun, 20 Jun 2021 13:01:05 +0200 Subject: [PATCH 07/49] Update README.md Quick typo fix --- Week2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Week2/README.md b/Week2/README.md index cd2a481..3bd8ad4 100644 --- a/Week2/README.md +++ b/Week2/README.md @@ -210,7 +210,7 @@ A few examples of what you can do with Markdown: | H2 | `## title` | *Emphasis* | `*italic` | **Bold** | `**bold**` -| ~~Strikethrough~~~ | `~~Scratch this.~~` +| ~~Strikethrough~~ | `~~Scratch this.~~` | [Link](#) | `[link text](https://somewhere)` | `

Single line of code

` | `` use single `backticks` around your code`` From d97824ee6be58fe8ebc06c38f00a9fdf86f10c8f Mon Sep 17 00:00:00 2001 From: Tomas van Rijsse Date: Sun, 20 Jun 2021 16:11:17 +0200 Subject: [PATCH 08/49] Update MAKEME.md Again, the first exercise says `clone hyf-html-exercises` and the exercise itself says to create a new repository... > Create a repository on Github called favorite-cmd-commands --- Week2/MAKEME.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Week2/MAKEME.md b/Week2/MAKEME.md index f831ecc..6a12693 100644 --- a/Week2/MAKEME.md +++ b/Week2/MAKEME.md @@ -13,8 +13,6 @@ ### 1. GIT exercises -> Before you start any of the exercises, make sure to create a folder on your desktop that will hold all of your exercise files. Go inside the `hyf-html-exercises` folder. Inside, create a `week2` folder that will hold this week's exercise files inside. - ### Exercise 1: 1. Create a repository on Github called favorite-cmd-commands, make sure to check the checkmark about including a README file @@ -42,6 +40,8 @@ In the following video you'll be rebuilding a responsive HTML5 website. Put your ### 4. PROJECT: Drones website +> Before you start this exercises, make sure to create a folder on your desktop that will hold all of your exercise files. Go inside the `hyf-html-exercises` folder. Inside, create a `week2` folder that will hold this exercise's files inside. + > Use GIT and GitHub while making this project, you can easily use this as part of your portfolio! 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. From a2e259b043d2356229deba058e8cd88a5b747dd2 Mon Sep 17 00:00:00 2001 From: robvk Date: Sun, 20 Jun 2021 17:39:49 +0200 Subject: [PATCH 09/49] Update MAKEME.md typo --- Week2/MAKEME.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Week2/MAKEME.md b/Week2/MAKEME.md index 6a12693..fff54b9 100644 --- a/Week2/MAKEME.md +++ b/Week2/MAKEME.md @@ -40,7 +40,7 @@ In the following video you'll be rebuilding a responsive HTML5 website. Put your ### 4. PROJECT: Drones website -> Before you start this exercises, make sure to create a folder on your desktop that will hold all of your exercise files. Go inside the `hyf-html-exercises` folder. Inside, create a `week2` folder that will hold this exercise's files inside. +> Before you start this exercise, make sure to create a folder on your desktop that will hold all of your exercise files. Go inside the `hyf-html-exercises` folder. Inside, create a `week2` folder that will hold this exercise's files inside. > Use GIT and GitHub while making this project, you can easily use this as part of your portfolio! From dfb7f99736360729e7af525ef100f12a75eead2a Mon Sep 17 00:00:00 2001 From: robvk Date: Thu, 2 Sep 2021 14:19:41 +0200 Subject: [PATCH 10/49] Update README.md new version of colorizer --- Week0/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Week0/README.md b/Week0/README.md index d7de0ec..4e0ecdb 100644 --- a/Week0/README.md +++ b/Week0/README.md @@ -63,7 +63,7 @@ We can always improve what we have, including our code editor! We can add `plugi - [Live HTML Previewer](https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer) - [Syntax Highlighter](https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter) -- [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) +- [Bracket Pair Colorizer 2](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2) - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Make sure to enable 'Format on save' in the Visual Studio Code settings after installing this plugin) From 577daabf804dd98cac2cf769f01b5443fe56b674 Mon Sep 17 00:00:00 2001 From: robvk Date: Tue, 21 Sep 2021 10:55:14 +0200 Subject: [PATCH 11/49] Update README.md Bracket pair colorization is standard now in vs code --- Week0/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Week0/README.md b/Week0/README.md index 4e0ecdb..80e4526 100644 --- a/Week0/README.md +++ b/Week0/README.md @@ -63,7 +63,6 @@ We can always improve what we have, including our code editor! We can add `plugi - [Live HTML Previewer](https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer) - [Syntax Highlighter](https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter) -- [Bracket Pair Colorizer 2](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2) - [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Make sure to enable 'Format on save' in the Visual Studio Code settings after installing this plugin) From 8a9726cb371bebcb1a622d2fd2a13bc0994e6b82 Mon Sep 17 00:00:00 2001 From: robvk Date: Sun, 7 Nov 2021 14:31:06 +0100 Subject: [PATCH 12/49] reworked exercises --- Week0/README.md | 77 +++++++------- Week1/LESSONPLAN.md | 98 +++++++----------- Week1/MAKEME.md | 61 ++++++----- Week1/README.md | 93 ++++++++++++++++- Week1/prep-exercises/01-bird-in-css/README.md | 18 ++++ Week2/MAKEME.md | 79 +++++++------- Week2/README.md | 33 ++++-- .../01-drones-website/README.md | 24 +++++ .../01-drones-website}/images/drone1.png | Bin .../01-drones-website}/images/drone2.png | Bin .../01-drones-website}/images/drone3.png | Bin .../01-drones-website}/images/drone4.png | Bin .../01-drones-website}/images/drone5.png | Bin .../01-drones-website}/images/drone6.png | Bin .../01-drones-website}/images/drone7.png | Bin .../01-drones-website}/index.html | 44 ++++---- Week3/MAKEME.md | 84 +++++++-------- Week3/README.md | 74 ++----------- {Week1 => _teachers}/bird-exercise/index.html | 0 {Week1 => _teachers}/bird-exercise/style.css | 0 {Week1/bird-exercise => assets}/bird.png | Bin assets/vscode-logo.png | Bin 0 -> 99857 bytes 22 files changed, 382 insertions(+), 303 deletions(-) create mode 100644 Week1/prep-exercises/01-bird-in-css/README.md create mode 100644 Week2/prep-exercises/01-drones-website/README.md rename Week2/{homework => prep-exercises/01-drones-website}/images/drone1.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/images/drone2.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/images/drone3.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/images/drone4.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/images/drone5.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/images/drone6.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/images/drone7.png (100%) rename Week2/{homework => prep-exercises/01-drones-website}/index.html (92%) rename {Week1 => _teachers}/bird-exercise/index.html (100%) rename {Week1 => _teachers}/bird-exercise/style.css (100%) rename {Week1/bird-exercise => assets}/bird.png (100%) create mode 100644 assets/vscode-logo.png diff --git a/Week0/README.md b/Week0/README.md index 80e4526..e0a7696 100644 --- a/Week0/README.md +++ b/Week0/README.md @@ -6,69 +6,76 @@ Hi new student, welcome to HackYourFuture! In this document you'll find all the We'll discuss the following points: -- How do I communicate with everybody? Use communication tool [Slack](https://www.slack.com) -- Where do I write my code? Inside a code editor called [Visual Studio Code](https://code.visualstudio.com/) -- What's the way to submit my homework? Use planning tool [Trello](https://trello.com/) -- How do I put my code online? On software development platform [GitHub](https://www.github.com/) +- How do I communicate with everybody? Use communication tool [Slack](https://www.slack.com) +- Where do I write my code? Inside a code editor called [Visual Studio Code](https://code.visualstudio.com/) +- What's the way to submit my homework? Use planning tool [Trello](https://trello.com/) +- How do I put my code online? On software development platform [GitHub](https://www.github.com/) ### How do I communicate with everybody? Use Slack -Slack Video +![slack logo](https://slackhq.com/wp-content/uploads/2019/02/2019-02_Staff_Slack1_unfurl.png) 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! +Have a look at this + Please download the app for on your desktop: -- [OSX](https://slack.com/downloads/osx) -- [Windows](https://slack.com/downloads/windows) -- [Linux](https://slack.com/downloads/linux) +- [OSX](https://slack.com/downloads/osx) +- [Windows](https://slack.com/downloads/windows) +- [Linux](https://slack.com/downloads/linux) And if you really can't go without your phone, you can also get it for mobile: -- [App store](https://itunes.apple.com/nl/app/slack/id803453959?mt=12) -- [Google Play](https://play.google.com/store/apps/details?id=com.Slack&hl=nl) +- [App store](https://itunes.apple.com/nl/app/slack/id803453959?mt=12) +- [Google Play](https://play.google.com/store/apps/details?id=com.Slack&hl=nl) When it's all installed it's time to get into it! First try out the demo: -- [Slack Demo](https://slackdemo.com/) +- [Slack Demo](https://slackdemo.com/) + +Important things to note is to: + +- make use of threads to isolate discussions +- format code to make it easier to read by using the ` ``` your code ``` ` syntax -These are the first things to do: +These are the first things to do once you have been invited into slack: -- Add a (professional looking) profile picture -- Add a nice description about yourself -- Say hi to your classmates in the class channel +- Add a (professional looking) profile picture +- Add a nice description about yourself +- Say hi to your classmates in the class channel Done? This is optional, but for those who are curious: -- [Cheat sheet for basics and shortcuts](https://slack.com/intl/en-nl/help/articles/201374536-Slack-keyboard-shortcuts) -- [How to format your messages in Slack](https://api.slack.com/reference/surfaces/formatting) +- [Cheat sheet for basics and shortcuts](https://slack.com/intl/en-nl/help/articles/201374536-Slack-keyboard-shortcuts) +- [How to format your messages in Slack](https://api.slack.com/reference/surfaces/formatting) ### Where do I write my code? Inside a code editor called Visual Studio Code -![VS Code](https://blog.launchdarkly.com/wp-content/uploads/2018/10/visualstudio_code-card.png) +![vscode logo](../assets/vscode-logo.png) 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. Depending on the programming language, the code editor highlights special keywords, gives suggestions to some extent, adds automatic indentation and sometimes has an integrated command line interface (more on that in the next section) as well. -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: +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 [this video](https://www.youtube.com/watch?v=ORrELERGIHs&t=324s) you'll get a great introduction on all the features. His code is python, so don't worry about understanding the code, it is about how to navigate the visual studio code environment. 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: -- [Visual Studio Code](https://code.visualstudio.com/) +- [Visual Studio Code](https://code.visualstudio.com/) #### Improving our code editor -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! +We can always improve what we have, including our code editor! We can add `extensions` to make our programming life much easier. Please install the following extensions as well and see for yourself! -- [Live HTML Previewer](https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer) -- [Syntax Highlighter](https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter) -- [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) -- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Make sure to enable 'Format on save' in the Visual Studio Code settings after installing this plugin) +- [Live HTML Previewer](https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer) +- [Syntax Highlighter](https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter) +- [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) +- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) (Make sure to enable 'Format on save' in the Visual Studio Code settings after installing this plugin) For more specific information on how to setup your editor: -- [VSCode Tips](https://github.com/HackYourFuture/fundamentals/tree/master/VSCodeTips) +- [VSCode Tips](https://github.com/HackYourFuture/fundamentals/tree/master/VSCodeTips) ### What's the way to submit my homework? Use planning tool Trello @@ -77,9 +84,9 @@ For more specific information on how to setup your editor: 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. Before you start your first class, please do the following: -- [Register](https://trello.com/signup) for an account -- Get access to the `Feedback Assignments` board, by asking @Wouter in Slack -- Create a card with your name. Inside, add a CodePen URL of your technical assignment + a short description of your website +- [Register](https://trello.com/signup) for an account +- Get access to the `Feedback Assignments` board, by asking @Wouter in Slack +- Create a card with your name. Inside, add a CodePen URL of your technical assignment + a short description of your website ### How do I put my code online? On software development platform GitHub @@ -87,17 +94,17 @@ Trello is a planning tool that allows you to make todo lists in order to organiz 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. -- [Register](https://github.com/join) for an account -- Put the URL for your account in the class channel +- [Register](https://github.com/join) for an account +- Put the URL for your account in the class channel ### Check double check Let's make sure you have done everything necessary: -- Slack: downloaded, added profile and said hi -- Visual Studio Code: downloaded, added plugins -- Trello: registered and added a card, including the CodePen URL of your technical assignment + short description -- Github: registered and put the URL of your account in the class channel +- Slack: downloaded, added profile and said hi +- Visual Studio Code: downloaded, added plugins +- Trello: registered and added a card, including the CodePen URL of your technical assignment + short description +- Github: registered and put the URL of your account in the class channel > 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. diff --git a/Week1/LESSONPLAN.md b/Week1/LESSONPLAN.md index e2106c6..c82a328 100644 --- a/Week1/LESSONPLAN.md +++ b/Week1/LESSONPLAN.md @@ -6,11 +6,11 @@ The purpose of this class is to introduce to the student: 1. The basics of working with the command line interface 2. Basic HTML/CSS concepts: - - HTML basics - - Difference between `` and `` tags - - Semantic HTML5 - - CSS basics - - The box model + - HTML basics + - Difference between `` and `` tags + - Semantic HTML5 + - CSS basics + - The box model ## Core concepts @@ -20,10 +20,10 @@ The purpose of this class is to introduce to the student: ### Explanation -- The command line interface (CLI) is a way to navigate your computer by issuing direct commands -- In the past the computer had **ONLY** a command line -- The CLI doesn't always give feedback, like any other program on your computer would give -- Desktop application icons are visual shortcuts (Windows: show `$ calc` to launch the calculator) +- The command line interface (CLI) is a way to navigate your computer by issuing direct commands +- In the past the computer had **ONLY** a command line +- The CLI doesn't always give feedback, like any other program on your computer would give +- Desktop application icons are visual shortcuts (Windows: show `$ calc` to launch the calculator) ### Example @@ -55,18 +55,18 @@ The purpose of this class is to introduce to the student: ### Exercise -- Open a command line (Git Bash on Windows) -- Create a project folder to contain all your HYF work (mkdir) -- Create a module folder (cd, mkdir) -- Create a text file: notes.txt (cd, touch) -- Open Visual Studio Code and add some notes (code .) -- Rename the file to lecture1.txt (mv) +- Open a command line (Git Bash on Windows) +- Create a project folder to contain all your HYF work (mkdir) +- Create a module folder (cd, mkdir) +- Create a text file: notes.txt (cd, touch) +- Open Visual Studio Code and add some notes (code .) +- Rename the file to lecture1.txt (mv) _"I go on holiday and I take with me"_ with CLI commands: -- They have to repeat the commands said before them. -- Add a new command and explain what it does. -- Let the round continue twice otherwise the students that went first don't have to repeat all the commands. +- They have to repeat the commands said before them. +- Add a new command and explain what it does. +- Let the round continue twice otherwise the students that went first don't have to repeat all the commands. 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. _By [@unmeshvrije](https://github.com/unmeshvrije)_ @@ -79,28 +79,28 @@ SECOND HALF (14.00 - 16.00) ### Explanation -- HTML is just plain text, nothing special -- Browsers read the HTML and CSS and render a beautiful webpage -- HTML of a website comes from a server (which is just another computer somewhere) -- Difference `` and `` +- HTML is just plain text, nothing special +- Browsers read the HTML and CSS and render a beautiful webpage +- HTML of a website comes from a server (which is just another computer somewhere) +- Difference `` and `` Box model -- Everything is a box -- The "box" refers to the attributes universal to every element: `margin`, `padding`, `border` -- Every element pushes against one another +- Everything is a box +- The "box" refers to the attributes universal to every element: `margin`, `padding`, `border` +- Every element pushes against one another ### Example -- Show most basic HTML structure, also show how Visual Studio Code can autocomplete html structure by just typing: html -- ``, `<link>`, `<meta>` -- Show example of the box model by using the browser inspector on various elements +- Show most basic HTML structure, also show how Visual Studio Code can autocomplete html structure by just typing: html +- `<title>`, `<link>`, `<meta>` +- Show example of the box model by using the browser inspector on various elements ### Exercise -- Using the command line create a project folder, a html file and css file -- Create a basic html structure, and link to an external css file -- Create a webpage which uses all the html tags and css properties which were have discussed +- Using the command line create a project folder, a html file and css file +- Create a basic html structure, and link to an external css file +- Create a webpage which uses all the html tags and css properties which were have discussed ### Essence @@ -108,41 +108,15 @@ Box model ### Explanation -- Explain why there are `<h1>`, `<h2>`, `<h3>` -- In theory a page can be constructed using only `<div>`s -- Semantic tags make the code more comprehensible -- It helps organize the page +- Explain why there are `<h1>`, `<h2>`, `<h3>` +- In theory a page can be constructed using only `<div>`s +- Semantic tags make the code more comprehensible +- It helps organize the page ### Example -- Show examples of semantic HTML: `<header>`, `<footer>`, `<main>`, `<section>`, `<article>`, `<nav>`, `<aside>` +- Show examples of semantic HTML: `<header>`, `<footer>`, `<main>`, `<section>`, `<article>`, `<nav>`, `<aside>` ### Exercise ### Essence - -## 4. CSS Basics - -### Explanation - -- Explain inline css, `<style>` block css and external css -- Roughly two types of CSS, styling (text) and CSS for layout structure - -### Example - -Show different ways to write css, and some basic css properties: `font-size`, `background-color`, `border` - -### Exercise - -A fun CSS exercise can be to ask the students to recreate the following image using HTML and CSS: - -![Bird created with HTML and CSS](bird-exercise/bird.png) - -Of which the code can be found in the [bird-exercise folder](bird-exercise). After 15-20 minutes it might be fun to ask all students to share their screen when video calling, or in class to ask them to turn around their laptop. - -Take aways: -- Ask students about their approach. Which different steps did they take? What did they Google? -- How did they solve the triangle beek? This is very challanging to do without Googling. Emphasize how important Googling is. -- With little knowledge already fun things can be created - -### Essence diff --git a/Week1/MAKEME.md b/Week1/MAKEME.md index 5fb8cf4..a19694f 100644 --- a/Week1/MAKEME.md +++ b/Week1/MAKEME.md @@ -2,14 +2,21 @@ ## Todo list -1. Command Line Interface -2. CSS Challenges -3. Code along -4. PROJECT: Digital Resume +1. Prep exercises +2. Command Line Interface +3. CSS Challenges +4. Code along +5. PROJECT: Digital Resume -### 1. Command Line Interface challenge +### **1. Prep exercises** -> Before you start any of the exercises, make sure to create a folder on your desktop that will hold all of your exercise files. Give the folder the name `hyf-html-exercises`. Inside, create a `week1` folder and will hold this week's exercise files inside. +> Prep exercises are exercises that you should work on _before_ the session on Sunday. These are a little more difficult or show an important concept and as such are a great exercise to talk about with your mentor. Have a solution ready by Sunday as you may be asked to show what you did. + +Inside your `HTML-CSS` fork, go to the folder `week1`. Inside of that folder, navigate to `/prep-exercises`. For each exercise, you will find a separate folder. The `README` explains what needs to be done. There will also be some questions at the bottom to think about. Go through them _before_ the session on Sunday as it will be covered then. + +### **2. Command Line Interface challenge** + +> Before you start any of the exercises, make sure to create a folder on your desktop that will hold all of your exercise files. Give the folder the name `hyf-html-exercises`. Inside, create a `week1` folder and will hold this week's exercise files inside. Using the CLI, create a plain text file (`.txt`) that contains the commands necessary to answer the following questions: @@ -22,46 +29,46 @@ first message second message ``` -### 2. CSS Challenges +### **3. CSS Challenges** In order to improve you need to practice a lot! In the following challenges you'll work with CSS, starting from the absolute basics to building a page: -- [CSS Challenges](https://en.wikiversity.org/wiki/Web_Design/CSS_challenges): Do challenge #1 to #6. +- [CSS Challenges](https://en.wikiversity.org/wiki/Web_Design/CSS_challenges): Do challenge #1 to #6. -### 3. Code along +### **4. Code along** 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: -- [Simple website](https://www.youtube.com/watch?v=pOwLCTkypUs) +- [Simple website](https://www.youtube.com/watch?v=pOwLCTkypUs) -### 4. PROJECT: Digital Resume +### **5. PROJECT: Digital Resume** > 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. In the following assignment you'll make your own Digital Resume. Here are the requirements that need to be fulfilled: -- It needs to be one webpage -- Your project folder should contain two files: a `.html` and a `.css` file -- Include the following pieces of information: - - Your personal information (Note: *the page will be public on the whole internet* for our review, so as a privacy-conscious individual, feel free to use fake information here) - - A picture of you - - A few lines about who you are - - Education (list at least 1 education institute) - - Work experience (list at least 1 workplace) +- It needs to be one webpage +- Your project folder should contain two files: a `.html` and a `.css` file +- Include the following pieces of information: + - Your personal information (Note: _the page will be public on the whole internet_ for our review, so as a privacy-conscious individual, feel free to use fake information here) + - A picture of you + - A few lines about who you are + - Education (list at least 1 education institute) + - Work experience (list at least 1 workplace) When writing the HTML include the following: -- Different types of headings, like `<h1>` and `<h2>` -- An unordered list (`<ul>`). Use this to list out your educational background -- Another unordered list (`<ul>`). -- An `<img>` tag (for your picture) -- Some `<p>` tags +- Different types of headings, like `<h1>` and `<h2>` +- An unordered list (`<ul>`). Use this to list out your educational background +- Another unordered list (`<ul>`). +- An `<img>` tag (for your picture) +- Some `<p>` tags When writing the CSS include the following: -- Some CSS properties, like: `margin`, `padding`, `color`, etc. -- You are **NOT** allowed to use CSS frameworks (like Bootstrap, MaterializeCSS, etc.) -- Bonus: look into using [flexbox](https://www.youtube.com/watch?v=fYq5PXgSsbE) or [grid](https://www.youtube.com/watch?v=EFafSYg-PkI) +- Some CSS properties, like: `margin`, `padding`, `color`, etc. +- You are **NOT** allowed to use CSS frameworks (like Bootstrap, MaterializeCSS, etc.) +- Bonus: look into using [flexbox](https://www.youtube.com/watch?v=fYq5PXgSsbE) or [grid](https://www.youtube.com/watch?v=EFafSYg-PkI) ## SUBMIT YOUR HOMEWORK! diff --git a/Week1/README.md b/Week1/README.md index 5ad1402..9e85a93 100644 --- a/Week1/README.md +++ b/Week1/README.md @@ -14,6 +14,12 @@ These are the topics for week 1: - Where to write it? - The box model - The cascading effect + - Specificity +4. Working with the browsers + - What is a web browser? + - Choosing the right web browser + - How to use the inspector + - Useful browser extensions ## 0. Video Lectures @@ -29,7 +35,7 @@ As a beginning developer it's important to get familiar with it, as it will teac The first thing you'll notice is that once you type in a command, the computer doesn't always give back feedback. This is completely normal. Most of application development goes like that, and it's good to get used to it. -**Note for Windows users**: Please install [Git for Windows](https://gitforwindows.org). It comes with an application called *Git BASH* which simulates frequently used CLI commands in Unix fashion. This aligns our work here in this course, as we can all use the same commands. But there is an even bigger reason: Being comfortable in the Unix Bash shell is very important for a web developer, as web servers usually run Linux. +**Note for Windows users**: Please install [Git for Windows](https://gitforwindows.org). It comes with an application called _Git BASH_ which simulates frequently used CLI commands in Unix fashion. This aligns our work here in this course, as we can all use the same commands. But there is an even bigger reason: Being comfortable in the Unix Bash shell is very important for a web developer, as web servers usually run Linux. For more information, check the following resources and code along: @@ -124,14 +130,95 @@ To learn more about the box model, go through the following: The first C in CSS stands for Cascading and it's crucial to learning how to use CSS correctly. Essentially, it means that it matters (1) **in which order** and -(2) **how specific** -you write CSS rules. +(2) **how specific** you write CSS rules. Read the following articles to learn about it: - [The "C" in CSS](https://css-tricks.com/the-c-in-css-the-cascade/). - [How CSS works: understanding the cascade](https://blog.logrocket.com/how-css-works-understanding-the-cascade-d181cd89a4d8) +### Specificity + +As there are multiple ways to write your css code which leads to multiple rules applying to the same html element CSS needs to decide which rule to follow. In the simplest form, if we for example have the following HTML: + +```html +<p>This paragraph should be styled normally</p> +<p class="explanation"> + This paragraph should be styled differently as we add a class to the element +</p> +``` + +and the following CSS: + +```css +p .explanation { + font-weight: 600; +} + +p { + font-weight: 400; +} +``` + +Then because the `p .explanation` rule is more specific than the `p` rule the `font-weight` of our second paragraph will be `600` even though the other rule was applied last. Read the following articles to learn more about how it works: + +- [Learn Basic CSS Selectors in 15 mins](https://www.youtube.com/watch?v=7kxhOI1Y38Y) +- [Specifics on CSS specificity](https://css-tricks.com/specifics-on-css-specificity/) +- Optional as it goes into every detail: [MDN's guide on Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity) + +## 4. Working with the browser + +### What is a web browser? + +You probably use it daily. Let's take a closer look at what it actually is. + +A `web browser` is software that allows you to view webpages, either retrieved from the internet or loaded from your computer. The primary function of a web browser is to render HTML files: transforming all the code (HTML, CSS and JavaScript) as well as the references (images, videos, etc.) to display a page correctly. + +For further study, delve into the following: + +- [What is a browser?](https://www.youtube.com/watch?v=TcbhVv9ty44) +- [How web browsers work](https://www.youtube.com/watch?v=WjDrMKZWCt0) +- [About your web browser](http://www.allaboutcookies.org/browsers/) + +### Choosing the right browser + +As a web developer you will write code that will display in different browsers. As such it is important that you get familiar with most major browsers in use today. These are: + +- [Internet Explorer](https://support.microsoft.com/en-us/help/17621/internet-explorer-downloads) +- [Google Chrome](https://www.google.com/chrome/) +- [Safari](https://support.apple.com/downloads/safari) +- [Mozilla Firefox](https://www.mozilla.org/en-GB/firefox/new/) +- [Microsoft Edge](https://www.microsoft.com/en-us/windows/microsoft-edge) (Not available for Mac/Linux yet) +- [Opera](https://www.opera.com/download) + +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 easier and clearer way. + +### How to use the browser inspector + +The inspector is a part of web browsers developers can use to take a closer look at the composition of the HTML elements. This makes it easier to write HTML and CSS code that works. + +Watch the following videos and follow along: + +- [Using browser inspector tools](https://www.youtube.com/watch?v=WJIqIDm7CoA) +- [Google Chrome Developer Tools Crash Course](https://www.youtube.com/watch?v=x4q86IjJFag) + +### Useful browser extensions + +As web developers we'll be dealing with the browser all the time. Why not upgrade our browser so it can make our programming life easier? + +A `browser extension` is a piece of software someone has written to increase the capability of the web browser. For example, if you hate receiving advertisements you probably use something like [Adblock](https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom) to block all the unwanted ads you might find in your webpages (if not, download it as soon as possible!). + +The following is a list of extensions that have proven to be useful during web development. This list only applies for Google Chrome, so if you don't have it, [install it](https://www.google.com/chrome/). + +Extensions: + +- Modify the technologies underlying each website, in real time, using [Web developer](https://chrome.google.com/webstore/detail/web-developer/bfbameneiokkgbdmiekhjnmfkcnldhhm/related?hl=en-US) +- Expose what technologies a website is using with [WhatRuns](https://chrome.google.com/webstore/detail/whatruns/cmkdbmfndkfgebldhnkbfhlneefdaaip?hl=en-US) +- If you ever wanted to know the exact color of any element in a page, you can now do so with [ColorZilla](https://chrome.google.com/webstore/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp?hl=en-US) +- When developing you'll be using dummy text to populate your elements. Enter [Loren Ipsum Generator](https://chrome.google.com/webstore/detail/lorem-ipsum-generator-def/mcdcbjjoakogbcopinefncmkcamnfkdb?hl=en%20) + +There are many more of these extensions and we encourage you to explore. See what fits your needs! + ## Finished? Are you finished with going through the materials? Nice job!!! If you feel ready to get practical, click [here](./MAKEME.md). diff --git a/Week1/prep-exercises/01-bird-in-css/README.md b/Week1/prep-exercises/01-bird-in-css/README.md new file mode 100644 index 0000000..a5b2c1f --- /dev/null +++ b/Week1/prep-exercises/01-bird-in-css/README.md @@ -0,0 +1,18 @@ +# Create a bird using just HTML and CSS! + +Your task is to create the following bird using just html and css: + +![Bird created with HTML and CSS](../../../assets/bird.png) + +Tips: + +- The beak is probably the hardest and may need some googling on how you can do triangles in CSS. +- Remember to create an html as well as a css file, do not use inline styling! + +## Things to think about + +In this exercise you have seen that you can do quite cool things already with just some basic html/css knowledge. Before the session on Sunday, have a think about the following questions. You don't need to know or fill in the answers as they will be discussed on Sunday, but see if you can figure it out: + +- Which html element(s) did you use for each of the shapes? Why did you use that one/those? +- If you couldn't change the css file that you just created but you are allowed to add a new css file, how would you change the color of the bird? +- Can you think of a reason why you sometimes cannot change a css file? diff --git a/Week2/MAKEME.md b/Week2/MAKEME.md index fff54b9..2a5d802 100644 --- a/Week2/MAKEME.md +++ b/Week2/MAKEME.md @@ -4,25 +4,29 @@ ## Todo list -1. GIT exercises -2. Responsive design challenges -3. Code along -4. PROJECT: Responsive website +1. Prep exercises +2. GIT exercises +3. Responsive design challenges +4. Code along +5. PROJECT: Responsive website +6. Optional: Flexbox games +### 1. Prep exercises +> Prep exercises are exercises that you should work on _before_ the session on Sunday. These are a little more difficult or show an important concept and as such are a great exercise to talk about with your mentor. Have a solution ready by Sunday as you may be asked to show what you did. -### 1. GIT exercises +Inside your `HTML-CSS` fork, go to the folder `week2`. Inside of that folder, navigate to `/prep-exercises`. For each exercise, you will find a separate folder. The `README` explains what needs to be done. There will also be some questions at the bottom to think about. Go through them _before_ the session on Sunday as it will be covered then. -### Exercise 1: +### 2. GIT exercise -1. Create a repository on Github called favorite-cmd-commands, make sure to check the checkmark about including a README file -2. Clone that repository (Google how to clone a repository). -3. Edit the `README.md` markdown file. -4. Add bash commands that you like (at least 3) and style them as headers. -5. Provide a short description (20 characters~) for each. -6. Then `git add`, `git commit` and `git push` the file to your GitHub repository. +1. Create a repository on Github called favorite-cmd-commands, make sure to check the checkmark about including a README file +2. Clone that repository (Google how to clone a repository). +3. Edit the `README.md` markdown file. +4. Add bash commands that you like (at least 3) and style them as headers. +5. Provide a short description (20 characters~) for each. +6. Then `git add`, `git commit` and `git push` the file to your GitHub repository. -### 2. Responsive design challenges +### 3. Responsive design challenges 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 websites. You have to learn how to do this too. It's not as intimating as it might seem; you're **not** going to build a separate page for literally every device size out there. @@ -30,43 +34,46 @@ Instead, you'll be applying certain CSS rules only to certain device sizes: the In the following mini-course you'll get some practice in doing this: -- [Responsive Web Design Challenges](https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/) +- [Responsive Web Design Challenges](https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/) -### 3. Code along +### 4. Code along 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. -- [Build A Responsive Website With HTML & CSS Tutorial](https://www.youtube.com/watch?v=ZeDP-rzOnAA) +- [Build A Responsive Website With HTML & CSS Tutorial](https://www.youtube.com/watch?v=ZeDP-rzOnAA) -### 4. PROJECT: Drones website +### 5. PROJECT: Responsive website -> Before you start this exercise, make sure to create a folder on your desktop that will hold all of your exercise files. Go inside the `hyf-html-exercises` folder. Inside, create a `week2` folder that will hold this exercise's files inside. +> Before you start this exercises, make sure to create a folder inside the `hyf-html-exercises` folder. Create a `week2` folder and put this exercise files inside. -> Use GIT and GitHub while making this project, you can easily use this as part of your portfolio! +> Tip: Use GIT and GitHub along the way, you can easily use this project as part of your portfolio! -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. +In this project you're going to rebuild `the homepage` of an existing responsive website. Choose one of the following: -Start off by downloading the HTML and images in the following [folder](https://github.com/HackYourFuture/HTML-CSS/tree/master/Week2/homework). +- [Codecademy](https://www.codecademy.com/) +- [Uber](https://www.uber.com/nl/nl/) +- [Adyen](https://www.adyen.com/) +- [Patreon](https://www.patreon.com/) +- [Coursera](https://www.coursera.org/) +- [Triodos](https://www.triodos.nl/) -You are going to write the CSS for this page, **it is not allowed to change the HTML**. +You don't have to build everything, but include the following requirements: -The page contains two grids: the first one should work using `floats`, the second using `flexbox`. Be careful not to mix the two! And make sure not to use grid anywhere. +- Only rebuild the homepage (which should include a navigation bar, footer, the landing section and at least 2 other sections) +- Write your CSS in an external stylesheet +- You are **allowed** to use a CSS framework, but you do not have to. It is up to you! +- Make use of `flexbox` +- Download the assets (images, other forms of media) through the original webpage, or use your own! +- Use media queries for both tablet and mobile (This might be same for the website you're making) +- **Make use of GIT and GitHub** to keep track of your work. The name of the repository should web _WEBSITENAME-clone_ -Other than that you should use `media queries`. Here are the requirements for each device size: +### 6. Optional: Flexbox games -- On mobile phones (smaller than 600px): a one column grid, that spans the full width -- 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) -- 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 +If you like learning in a fun way there are quite a few games on the internet that teach you the way flexbox works: -So that it works like this: - -![](./assets/wireframe.png) - -Make the page look beautiful by adding some more CSS! Include CSS rules for: - -- `hover` states for the grid elements, to indicate to the user that they're looking at that specific drone -- 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/) -- Animation using `transition` +- [Flexbox Froggy](https://flexboxfroggy.com/) +- [Flexbox Defense](http://www.flexboxdefense.com/) +- [Flexbox Adventure](https://codingfantasy.com/games/flexboxadventure) ## SUBMIT YOUR HOMEWORK! diff --git a/Week2/README.md b/Week2/README.md index 3bd8ad4..264c794 100644 --- a/Week2/README.md +++ b/Week2/README.md @@ -12,6 +12,7 @@ These are the topics for week 2: - Working with SSH 2. More advanced CSS - Flexible organizing with flexbox + - Using the grid layout - Pseudo class selectors - Responsive design with media queries 3. Markdown @@ -155,6 +156,14 @@ This will give us the `flexbox`-specific properties, so we can develop clean and - [What is Flexbox and Why to Learn it](https://www.youtube.com/watch?v=CXSwNIPsyTs) - [CSS Flexbox Course](https://www.youtube.com/watch?v=-Wlt8NRtOpo) +### Using the grid layout + +The most recent addition to the css toolkit for organising your layout is using `display: grid`. Where every other layout always goes from top to bottom, grid allows you to create a two-dimensional layout. + +The complete guide to grid by css-tricks is the go to guide, read it here: + +- [CSS-tricks complete guide to grid](https://css-tricks.com/snippets/css/complete-guide-grid/) + ### Pseudo class selectors Every HTML element can be in different states. The default state is when an element is untouched. You already know how to style for this. @@ -200,23 +209,24 @@ Even the page you are reading now is also created using Markdown. Markdown is not a syntax that browsers understand, it is however really simple to write and read with any text editor. Many online GIT platforms, like GitHub, will parse Markdown files and display them as pretty HTML pages. -Another good example on Markdown support is Slack. You can style your Slack messages using Markdown! +Another good example on Markdown support is Slack. You can style your Slack messages using Markdown! A few examples of what you can do with Markdown: -| HTML | Markdown -| ------------- |------------- -| H1 | `# title` -| H2 | `## title` -| *Emphasis* | `*italic` -| **Bold** | `**bold**` -| ~~Strikethrough~~ | `~~Scratch this.~~` -| [Link](#) | `[link text](https://somewhere)` -| `<p>Single line of code</p>` | `` use single `backticks` around your code`` +| HTML | Markdown | +| ---------------------------- | -------------------------------------------- | +| H1 | `# title` | +| H2 | `## title` | +| _Emphasis_ | `*italic` | +| **Bold** | `**bold**` | +| ~~Strikethrough~~ | `~~Scratch this.~~` | +| [Link](#) | `[link text](https://somewhere)` | +| `<p>Single line of code</p>` | `` use single `backticks` around your code`` | If you want to show a bigger block of code, you start and end with 3 backticks + ````markdown -``` +``` <html> <head>...</head> <body>...</body> @@ -226,6 +236,7 @@ If you want to show a bigger block of code, you start and end with 3 backticks With Markdown you can to more things like images, list, checklists, tables and more. If you want to learn more about Markdown you could check these sources: + - [Markdown Crash Course](https://www.youtube.com/watch?v=HUBNt18RFbo) - [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) diff --git a/Week2/prep-exercises/01-drones-website/README.md b/Week2/prep-exercises/01-drones-website/README.md new file mode 100644 index 0000000..8952850 --- /dev/null +++ b/Week2/prep-exercises/01-drones-website/README.md @@ -0,0 +1,24 @@ +# Drones Website + +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. + +The HTML and images are in this folder. You are going to write the CSS for this page, **it is not allowed to change the HTML**. + +The page contains two grids: the first one should work using `flexbox`, the second using `grid`. Be careful not to mix the two! + +Other than that you should use `media queries`. Here are the requirements for each device size: + +- On mobile phones (smaller than 600px): a one column grid, that spans the full width +- 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) +- 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 + +So that it works like this: + +![](../../assets/wireframe.png) + +## Things to think about + +- Which way do you think is better for this use case? Flex or grid? What use cases can you think of that would make you use the other one? +- Can every browser run both flex and grid? What about certain features of flex and grid? What is an easy way to see if browsers support a certain feature? +- Did you use the browser inspector for the exercise? What is the reason for yes/no here? diff --git a/Week2/homework/images/drone1.png b/Week2/prep-exercises/01-drones-website/images/drone1.png similarity index 100% rename from Week2/homework/images/drone1.png rename to Week2/prep-exercises/01-drones-website/images/drone1.png diff --git a/Week2/homework/images/drone2.png b/Week2/prep-exercises/01-drones-website/images/drone2.png similarity index 100% rename from Week2/homework/images/drone2.png rename to Week2/prep-exercises/01-drones-website/images/drone2.png diff --git a/Week2/homework/images/drone3.png b/Week2/prep-exercises/01-drones-website/images/drone3.png similarity index 100% rename from Week2/homework/images/drone3.png rename to Week2/prep-exercises/01-drones-website/images/drone3.png diff --git a/Week2/homework/images/drone4.png b/Week2/prep-exercises/01-drones-website/images/drone4.png similarity index 100% rename from Week2/homework/images/drone4.png rename to Week2/prep-exercises/01-drones-website/images/drone4.png diff --git a/Week2/homework/images/drone5.png b/Week2/prep-exercises/01-drones-website/images/drone5.png similarity index 100% rename from Week2/homework/images/drone5.png rename to Week2/prep-exercises/01-drones-website/images/drone5.png diff --git a/Week2/homework/images/drone6.png b/Week2/prep-exercises/01-drones-website/images/drone6.png similarity index 100% rename from Week2/homework/images/drone6.png rename to Week2/prep-exercises/01-drones-website/images/drone6.png diff --git a/Week2/homework/images/drone7.png b/Week2/prep-exercises/01-drones-website/images/drone7.png similarity index 100% rename from Week2/homework/images/drone7.png rename to Week2/prep-exercises/01-drones-website/images/drone7.png diff --git a/Week2/homework/index.html b/Week2/prep-exercises/01-drones-website/index.html similarity index 92% rename from Week2/homework/index.html rename to Week2/prep-exercises/01-drones-website/index.html index 3f6858d..ccc05cb 100644 --- a/Week2/homework/index.html +++ b/Week2/prep-exercises/01-drones-website/index.html @@ -3,83 +3,83 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Grids + Drones
-

Grids

+

Drones

-
-

Grid with floats

-