Utveckla en prototyp för en resebyrå, där stad skall kunna väljas och information om respektive stad och land visas enl. nedanstående. Develop a prototype for a travel agency where it should be possible to chose city and information about each city should be diplayed as decribed below.
- Prototypen skall kunna selekteras på följande städer: / The prototype should contain the following cities: London, Madrid, Paris, New York, Sydney, Montreal
- Val av stad skall kunna göras via en dropp-down / Selection of city should be done from a drop-down list
- Städer skall lagras i en JSON fil för att kunna utökas vid senare tillfälle om så önskas. / Cities should be stored in a JSON file so it can be extended later on.
- Följande information ska visas för varje stad: / For each city the following information should be displayed
- Stad / City
- Land / Country
- Valuta / Currency
- Valutakurs / Exchange rate
- 5 dagar med följande information / Display information for five days containing the following information
- Beskrivning (molnigt, regn etc.) och/eller icon / Forecast (clooudy, rain etc.) and/or as an icon
- Veckodag / Weekday
- Temperatur (Tidpunkt: 12:00) / Temperature (at 12 noon)
- Belopp man vill växla och vad det blir i den andra valutan / Ammount to be exchanged and the amount in the foreign currency
- Resultatet måste fungera med live data / Live data must be used
- MVC är inget krav men rekomenderas / MVC is not a requirement but is recomended
Detta skall vara en presentation för en presumtiv kund och lösningen skall vara säljande så att det blir afför. This should be a selling presentation for a presumtive customer in order to close the deal
En live version åtefinns på: https://javascript.demo.chrisjohannesson.com The live version is at: https://javascript.demo.chrisjohannesson.com