Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
lesson 15: add more tasks in the end of class (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogmel authored May 21, 2024
1 parent 2e7ec23 commit d3614e8
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode
.idea
.idea
.DS_Store
43 changes: 43 additions & 0 deletions lesson15.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<!-- .slide: style="font-size:80%" -->

---

## 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
<!-- .slide: style="font-size:80%" -->

---

### 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.

<!-- .slide: style="font-size:80%" -->

0 comments on commit d3614e8

Please sign in to comment.