Here you find the readings you have to complete before the third lecture.
• Last week recap and questions
• Responsive web development
• Relative measurements (%, (r)em, vw)
• Media queries
• Positioning (absolute, relative, fixed)
• Flexbox
• How to work with the inspector
- In Trello you are added to one of the cards of your fellow students.
- Give feedback CV assignment of one of your fellow student. Please be critical but most of all give constructive feedback. If there are resources that you used and might be useful, share them.
- Revisit you own CV assignment and improve it with the feedback and suggestions given by one of your classmates.
- Introduction to media queries (Reading) or Introduction to media queries (Video)
- More about media queries
- HTML syntax
- How CSS selectors work
- Article about multiple ways to select classes and id's
- Read about nice color combinations
- Introduction to FlexBox
- CodeAcedemy: Learn Responsive Design
- Refresh your knowledge of CSS Selectors: With this fun game
- Grids exercise
- Download the HTML and images in the folder Homework 2 (or click this link to download)
- You are going to write the CSS for this page
- You are not allowed to change the HTML
- We want the grid to look as follows (check the wireframe below):
- On mobile phones: a two column grid, with the exception that the first item spans the full width
- 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)
- On desktops: a four column grid, with the exception that the first item spans two columns.
- There should be some space between the grid items
- Make the page look beautiful by adding some more CSS! Some tips:
- How about some nice colors, fonts, hover styles?
- 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.
- BEFORE you hand it in, read the Style guide again and check your files
How to hand in your homework:
• Upload your homework in your Github repository.
• Make sure to create a new folder "week2" first.
• Your html-css/week2 should now contain an index.html and a main.css file (and the images folder)
• Place the link to your repository in Trello.
- Add one of the following to your page:
- An animation using CSS keyframes
- SVG
Go trough the reading material in the README.md to prepare for your next class
If you have Windows machines, please follow the following link and install GitBash https://github.com/git-for-windows/git/releases/tag/v2.10.2.windows.1
If you have Linux installed on your laptop or you have a MACbook, then you don’t need to do anything. See you next lesson.
