Exercises
Here you'll find a few exercises we'll be going through during the course. I'll be adding more as we go along, so stay tuned!
Test: Link
20' + 10'
Download
1. Create an empty HTML document
2. Link the provided CSS file
3. Add some placeholder text
4. In it, add a link to the any website
5. Change its look and behaviour:
- Opens in a new tab
- Same text colour as the paragraph
- Underlined
- Make something happen on hover
Get solution
Test: Title card
20' + 10'
Download
1. Create an empty HTML document
2. Link the provided CSS file
3. At the center of the screen, add a info card:
- Content: image, title and some text
- Borders of your choice
- Rounded corners
- Make something happen on hover
Get solution
HTML: Guessing semantics
20' + 10'
Download
1. Structure the content of the reference page using semanticaly meaningful HTML tags and attributes
- You can find the text and image in the assets folder
- The page doesn't need to be styled
+ Some context:
- The name of the page is "Beispiel"
- The page contains multiple languages: English (EN), German (DE), French (FR), and Dutch (NL)
Get solution
CSS: Styling basics
20' + 10'
Download
1. Link the provided CSS file
2. Style the website to look like the reference image
- The font size is 14px (.875rem)
- The line height is 16.8px (120%)
- The background colour is black
- The text colour is white
- The page has a padding of 14px
- Each major section is seperated by a 14px gap
- The language indicators are 14px above the text
- The texts are seperated by a 14px gap
+ Hints:
- Some properties have been prefilled for you, keep them as they are.
- The body and footer are displayed in a grid, try to see if you can style them.
Get solution
CSS: Displays
30' + 15'
Download
Recreate the compositions of the reference image using the CSS display property.
+ Hints:
- This children of the exercise a have a height of 200px.
- Each child contains value used for its styling.
Get solution