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

Skip to content

Commit 9de782a

Browse files
author
Noer Paanakker
committed
merge with content-rewrite-noer
2 parents f03a90b + 178d447 commit 9de782a

24 files changed

+945
-432
lines changed

README.md

Lines changed: 45 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,58 @@
1-
# HTML-CSS and Command Line
1+
> If you are following the HackYourFuture curriculum we recommend you to first take a look at the complete curriculum, which you can find [here](https://www.github.com/curriculum).
22
3-
## Introduction
3+
> Please help us improve and share your feedback! If you find better tutorials or links, please share them by [opening a pull request](https://github.com/HackYourFuture/HTML-CSS/pulls).
44
5-
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.
5+
# Module #1 - HTML, CSS and GIT (Frontend)
66

7-
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 adopting 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: presenting and explaining your work, and finding documentation on the web.
7+
![image](assets/module1.png)
88

9-
## Command line
9+
Welcome to the wonderful world of web development! In this module you will learn the basic building blocks of the web: HTML and CSS. HTML gives us the power to add text, images and videos to a page. CSS gives us the power to organize these parts and make it look nice.
1010

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.
11+
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.
1212

13-
So since this is your first module, what can you expect the next three weeks?
13+
Think of it like this: if a webpage were a person, the HTML would be the skeleton and CSS the skin and clothing!
1414

15-
## Planning for Current Class
15+
You'll also be learning [GIT](https//www.github.com/hackyourfuture/git), software that will allow you to save your folders and files in case they accidentally get deleted or end up corrupt. It can do much more and you'll learn all about that starting from week 2!
1616

17-
| Week | Topic | Read | Homework |
18-
| ---- | ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- | ----------------------------------- |
19-
| 1. | DOM, HTML/CSS syntax | [Week 1 Reading](/Week1/README.md) | [Homework week 1](/Week1/MAKEME.md) |
20-
| 2. | [CLI](https://github.com/HackYourFuture/CommandLine/blob/master/Week1/Lecture.md), Responsive design, media queries, developer tools | [Week 2 Reading](/Week2/README.md) | [Homework week 2](/Week2/MAKEME.md) |
21-
| 3. | [CLI](https://github.com/HackYourFuture/CommandLine/blob/master/Week2/Lecture.md/), Recap, useful resources on the web | [JavaScript Intro](https://github.com/HackYourFuture/JavaScript/blob/master/Week1/README.md) | [Homework week 3](/Week3/MAKEME.md) |
17+
## Learning goals
2218

23-
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!
19+
In order to successfully complete this module you will need to master the following:
2420

25-
## Learning goals for HTML-CSS:
21+
- Be able to write syntactically correct HTML and CSS
22+
- Understand what is meant by "responsive" web development
23+
- Practice navigation your computer using the command line interface (CLI)
24+
- Learn about GIT and its basic usage
25+
- Become familiar with Trello and GitHub as a way to submit your homework
26+
- Explain your code by presenting what you've done
27+
- Know your way around Visual Studio Code
28+
- Feel comfortable working with your browser's inspector
2629

27-
```
28-
• Basic understanding of HTML and CSS
29-
• Know how to organize your files
30-
• Know your way around your text editor
31-
• Feel comfortable working with the inspector
32-
• Properly indent your code
33-
• Properly naming classes, id's
34-
• Responsive, mobile first development
35-
• Know good and bad practices when it comes to HTML
36-
• Get an understanding of where to find information on the web
37-
• Presenting and explaining your work to others
38-
```
30+
## How to use this repository
3931

40-
## Learning goals for CLI
32+
> Before you do anything, first go [here](Week0/preparation.md).
4133
42-
```
43-
• To know the terminal/bash/command line for UNIX based systems.
44-
• Navigate the file system without using a UI explorer.
45-
• Copy, rename and move files with terminal commands.
46-
• Learn output redirection, piping on the terminal.
47-
• Write basic shell scripts to ease the programming life.
48-
```
34+
This repository consists of 3 essential parts:
35+
36+
1. `Reading materials`: this document contains all the required theory you need to know _**while**_ you're coding. It's meant as both study material and as a reference to understand what you're doing.
37+
2. `Homework`: this document contains the instructions for each week's homework.
38+
3. `Lesson Plans`: this part is meant for teachers as a reference. However, as a student don't be shy to take a look at it as well!
39+
40+
After your first class you should start off with checking the `reading materials` for that week. At the beginning that would be the [Week 1 Reading](/Week1/README.md). Study all the concepts and try to get the gist of everything. After, you can get started with the `homework` for that week.
41+
42+
If you have any questions or if something is not entirely clear ¯\\\_(ツ)\_/¯, please ask/comment on Slack!
43+
44+
## Planning
45+
46+
| Week | Topic | Reading Materials | Homework | Lesson Plan |
47+
| ---- | ------------------------------------------------------ | -------------------------------------------------------------------------------------- | ------------------------------- | -------------------------------------- |
48+
| 1. | Command Line Interface basics, HTML/CSS syntax | [W1 Reading](/Week1/README.md) | [W1 Homework](/Week1/MAKEME.md) | [W1 Lesson Plan](/Week1/LESSONPLAN.md) |
49+
| 2. | Introduction to GIT, Responsive design | [W2 Reading](/Week2/README.md) | [W2 Homework](/Week2/MAKEME.md) | [W2 Lesson Plan](/Week2/LESSONPLAN.md) |
50+
| 3. | GIT branches, CSS frameworks, Working with the browser | [W3 Reading](https://github.com/HackYourFuture/JavaScript/blob/master/Week1/README.md) | [W3 Homework](/Week3/MAKEME.md) | [W3 Lesson Plan](/Week3/LESSONPLAN.md) |
51+
52+
## Finished?
53+
54+
Have you finished the module? Great! Pat yourself on the back for the great work you've done.
55+
56+
If you feel ready for the next challenge, click [here](https://www.github.com/hackyourfuture/javascript1) to go to **JavaScript1**!
57+
58+
_The HackYourFuture curriculum is subject to CC BY copyright. This means you can freely use our materials, but just make sure to give us credit for it :)_

Week0/preparation.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Welcome to HackYourFuture!
2+
3+
Hi new student, welcome to HackYourFuture! In this document you'll find all the instructions you need in order to prepare yourself for your upcoming journey in HackYourFuture, and beyond!
4+
5+
## Agenda
6+
7+
We'll discuss the following points:
8+
9+
- How do I communicate with everybody? Use communication tool Slack
10+
- Where do I write my code? Inside a code editor called Visual Studio Code
11+
- What's the way to submit my homework? Use planning tool Trello
12+
- How do I put my code online? On software development platform GitHub
13+
14+
### How do I communicate with everybody? Use Slack
15+
16+
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!
17+
18+
Please download the app for on your desktop:
19+
20+
- [OSX](https://slack.com/downloads/osx)
21+
- [Windows](https://slack.com/downloads/windows)
22+
- [Linux](https://slack.com/downloads/linux)
23+
24+
And if you really can't go without your phone, you can also get it for mobile:
25+
26+
- [App store](https://itunes.apple.com/nl/app/slack/id803453959?mt=12)
27+
- [Google Play](https://play.google.com/store/apps/details?id=com.Slack&hl=nl)
28+
29+
When it's all installed it's time to get into it! These are the first things to do:
30+
31+
- Add a (professional looking) profile picture
32+
- Add a nice description about yourself
33+
- Say hi to your classmates in the class channel
34+
35+
Done? This is optional, but for those who are curious:
36+
37+
- [Cheat sheet for basics and shortcuts](https://get.slack.help/hc/en-us/articles/217626358-Cheat-sheet-for-basics-and-shortcuts)
38+
- [How to format your messages in Slack](https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages)
39+
40+
### Where do I write my code? Inside a code editor called Visual Studio Code
41+
42+
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.
43+
44+
Depending on to the the programming language, the code editor highlights special keywords, give suggestions for some extent, adds automatic indentation and sometimes has an integrated command line interface (more on that in the next section) as well.
45+
46+
While your code editor does the basic job of allowing you to write code, it can always be improved to make our lives as programmers easier. In the following video you'll learn about the most useful code editor extensions you can install in order to make development a much richer experience:
47+
48+
Currently, Visual Studio Code is one of the top code editors on the market. As such, we have chosen it has our default code editor to use. We highly recommend you to use it as well:
49+
50+
- [Visual Studio Code](https://code.visualstudio.com/)
51+
52+
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!
53+
54+
- [Live HTML Previewer](https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer)
55+
- [Syntax Highlighter](https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter)
56+
- [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer)
57+
- [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)
58+
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
59+
60+
For more specific information on how to setup your editor:
61+
62+
- [VSCode Tips](https://github.com/HackYourFuture/fundamentals/tree/master/VSCodeTips)
63+
64+
### What's the way to submit my homework? Use planning tool Trello
65+
66+
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.
67+
68+
- [Register](https://trello.com/signup) for an account
69+
- Get access to the `Feedback Assignments` board, by asking Wouter
70+
- Create a card including a CodePen URL of your technical assignment
71+
72+
### How do I put my code online? On software development platform GitHub
73+
74+
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.
75+
76+
- [Register](https://github.com/join) for an account
77+
- Put the URL for your account in the class channel
78+
79+
### Check double check:
80+
81+
Let's make sure you have done everything necessary:
82+
83+
- Slack: downloaded, added profile and said hi
84+
- Trello: registered and added a card with the CodePen URL in of your technical assignment
85+
- Github: registered and put the URL of your account in the class channel
86+
87+
> 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.
88+
89+
### Finished?
90+
91+
Have you finished with everything? Be proud of yourself, as you have optimally prepared yourself with all the tools needed to make your coding adventure a success!
92+
93+
Now, what will you be learning? Find out by clicking [here](https://github.com/HackYourFuture/curriculum).

Week1/LESSONPLAN.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Lesson Plan Week 1
2+
3+
## Agenda
4+
5+
The purpose of this class is to introduce to the student (1) the basics of working with the command line interface, and (2) basic HTML/CSS concepts:
6+
7+
FIRST HALF:
8+
9+
- Command line interface basics
10+
11+
SECOND HALF:
12+
13+
- Difference `<head>` and `<body>`
14+
- Semantic HTML5
15+
- The box model
16+
17+
### Core concepts
18+
19+
FIRST HALF (12.00 - 13.30)
20+
21+
1. **Command line interface basics**
22+
23+
- The command line interface (CLI) is a way to navigate your computer by issuing direct commands
24+
- Desktop application icons are visual shortcuts
25+
- Commonly used commands
26+
27+
_Show students the most commonly used commands (`ls`, `pwd`, `cd`, `echo`, `cat`, `mkdir`, `touch`, `head`, `tail`)_
28+
29+
SECOND HALF (14.00 - 16.00)
30+
31+
2. **Difference `<head>` and `<body>`**
32+
33+
- The `<head>` holds all the page's meta-data: information about the complete webpage
34+
35+
_Show examples of what the `<head>` could hold and why: `<title>`, `<link>`, `<meta>`_
36+
37+
- The `<body>` holds all the elements that will be displayed in the browser
38+
39+
_Show examples of commonly used HTML tags: `<h1>`, `<a href="#">`, `<div>`_
40+
41+
3. **Semantic HTML5**
42+
43+
- In theory a page can be constructed using only `<div>`s
44+
- Semantic tags make the code more comprehensible
45+
- It helps organize the page
46+
47+
_Show examples of semantic HTML: `<header>`, `<footer>`, `<section>`_
48+
49+
4. **The box model**
50+
51+
- Everything is a box
52+
- The "box" refers to the attributes universal to every element: `margin`, `padding`, `border`
53+
- Every element pushes against one another
54+
55+
_Show example of the box model by using the browser inspector on various elements_

0 commit comments

Comments
 (0)