Skip to content

Commit 544ad51

Browse files
committed
Completed exercise jonasschmedtmann#11: World Wise in section 18 of the course
1 parent 041e2a1 commit 544ad51

File tree

25 files changed

+2148
-780
lines changed

25 files changed

+2148
-780
lines changed

11-worldwise/starter/data/cities.json

Lines changed: 50 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lat": 38.727881642324164,
1111
"lng": -9.140900099907554
1212
},
13-
"id": 73930385
13+
"id": "73930385"
1414
},
1515
{
1616
"cityName": "Madrid",
@@ -22,55 +22,67 @@
2222
"lat": 40.46635901755316,
2323
"lng": -3.7133789062500004
2424
},
25-
"id": 17806751
25+
"id": "17806751"
2626
},
2727
{
28-
"cityName": "Berlin",
29-
"country": "Germany",
30-
"emoji": "🇩🇪",
31-
"date": "2027-02-12T09:24:11.863Z",
32-
"notes": "Amazing 😃",
28+
"id": "0b0e",
29+
"cityName": "Vila-real",
30+
"country": "Spain",
31+
"date": "2024-06-12T04:54:22.745Z",
32+
"notes": "",
33+
"emoji": "🇪🇸",
3334
"position": {
34-
"lat": 52.53586782505711,
35-
"lng": 13.376933665713324
36-
},
37-
"id": 98443197
35+
"lat": "39.93159534001413",
36+
"lng": "-0.09479331712261008"
37+
}
3838
},
3939
{
40-
"cityName": "Lisbon",
41-
"country": "Portugal",
42-
"emoji": "🇵🇹",
43-
"date": "2027-10-31T15:59:59.138Z",
44-
"notes": "My favorite city so far!",
40+
"id": "0d31",
41+
"cityName": "Lorenskog",
42+
"country": "Norway",
43+
"date": "2024-06-12T05:00:05.890Z",
44+
"notes": "",
45+
"emoji": "🇳🇴",
4546
"position": {
46-
"lat": 38.727881642324164,
47-
"lng": -9.140900099907554
48-
},
49-
"id": 73930382
47+
"lat": "59.90495102479334",
48+
"lng": "10.981639013155748"
49+
}
5050
},
5151
{
52-
"cityName": "Madrid",
53-
"country": "Spain",
54-
"emoji": "🇪🇸",
55-
"date": "2027-07-15T08:22:53.976Z",
52+
"id": "b292",
53+
"cityName": "Hallefors",
54+
"country": "Sweden",
55+
"date": "2024-06-12T05:04:07.675Z",
5656
"notes": "",
57+
"emoji": "🇸🇪",
5758
"position": {
58-
"lat": 40.46635901755316,
59-
"lng": -3.7133789062500004
60-
},
61-
"id": 17806752
59+
"lat": "59.60750840812285",
60+
"lng": "14.489126188710122"
61+
}
6262
},
6363
{
64-
"cityName": "Berlin",
65-
"country": "Germany",
66-
"emoji": "🇩🇪",
67-
"date": "2027-02-12T09:24:11.863Z",
68-
"notes": "Amazing 😃",
64+
"id": "c03f",
65+
"cityName": "Raelingen",
66+
"country": "Norway",
67+
"date": "2024-06-12T05:19:11.818Z",
68+
"notes": "",
69+
"emoji": "🇳🇴",
6970
"position": {
70-
"lat": 52.53586782505711,
71-
"lng": 13.376933665713324
72-
},
73-
"id": 98443192
71+
"lat": "59.941084690951456",
72+
"lng": "11.029535411501646"
73+
}
74+
},
75+
{
76+
"id": "d694",
77+
"cityName": "Nenagh",
78+
"country": "Ireland",
79+
"date": "2024-06-12T14:55:00.930Z",
80+
"notes": "This is a good place",
81+
"emoji": "🇮🇪",
82+
"position": {
83+
"lat": "52.76006598577878",
84+
"lng": "-8.189150745686446"
85+
}
7486
}
7587
]
76-
}
88+
}

11-worldwise/starter/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/png" href="/icon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React</title>
7+
<title>WorldWise // Keep track of your advantures</title>
88
</head>
99
<body>
1010
<div id="root"></div>

0 commit comments

Comments
 (0)