From d3614e82f4baaa7bd1943287805448dcb9203e46 Mon Sep 17 00:00:00 2001 From: Mellina Yonashiro Date: Tue, 21 May 2024 11:00:28 +0200 Subject: [PATCH] lesson 15: add more tasks in the end of class (#16) --- .gitignore | 3 ++- lesson15.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8cd0df3..569e6d2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .vscode -.idea \ No newline at end of file +.idea +.DS_Store \ No newline at end of file diff --git a/lesson15.md b/lesson15.md index 34d9db4..8931306 100644 --- a/lesson15.md +++ b/lesson15.md @@ -262,3 +262,46 @@ async function main() { 1. Show all the bordering countries (field: `borders`) as buttons. Example: Germany has a neighbour called `AUT`. Create a button with text content `AUT` and when the user clicks the button, the page should display information about this country (hint: use the `alpha` API, e.g: https://restcountries.com/v3.1/alpha/aut) + +--- + +## Already finished? + +### Take more practice! + +#### Dogs + +https://dog.ceo/dog-api/documentation/random + +> Display a random dog image + +https://kinduff.github.io/dog-api/ + +> Fetch dog facts + + + +--- + +### Task + +Create a simple webpage, that fetches dog images from the API. Pair it with the second API and show some dog facts +together with images. + +--- + +## Holidays + +https://date.nager.at/Api + +> Query the holidays of over 100 countries + +--- + +### Task + +Show the holidays in Germany for 2024. + +BONUS: Add a dropdown to select holidays for one state only. + +