Skip to content

Commit c8ce792

Browse files
committed
Minor tweaks
1 parent 0c77252 commit c8ce792

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

src/week1/1-base/nobelprize.http

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/week1/11-final/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
const table = createAndAppend('table', div);
7979
const tbody = createAndAppend('tbody', table);
8080
addRow(tbody, 'Name', `${firstname} ${surname || ''} `);
81-
addRow(tbody, 'Born', `${laureate.born}, ${laureate.bornCountry}`);
81+
addRow(tbody, 'Born', `${laureate.born}, ${laureate.bornCity}, ${laureate.bornCountry}`);
8282
if (laureate.died !== '0000-00-00') {
83-
addRow(tbody, 'Died', `${laureate.died}, ${laureate.diedCountry}`);
83+
addRow(tbody, 'Died', `${laureate.died}, ${laureate.diedCity}, ${laureate.diedCountry}`);
8484
}
8585
renderLaureatePrizes(tbody, laureate.prizes);
8686
});

src/week1/webapis.http

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### Nobel Prize API - All countries
2+
3+
GET http://api.nobelprize.org/v1/country.json
4+
5+
### Nobel Prize API - All female laureates
6+
7+
GET http://api.nobelprize.org/v1/laureate.json?gender=female
8+
9+
### Exchange rates against EUR
10+
11+
GET https://api.exchangerate-api.com/v4/latest/EUR
12+
13+
14+
### Eat & Drink Amsterdam
15+
16+
GET https://open.data.amsterdam.nl/EtenDrinken.json

0 commit comments

Comments
 (0)