Coder Social home page Coder Social logo

flight-fares's Introduction

FLIGHT FARES

The data are flights from many different airports that have been saved in data.js file. List includes objects, which contain two kays outbound and summary.

data

All data for a single flight is included in the key outboubd.

E.g. For the flight from Warszawa-Modlin to Stockholm Arlanda there is object:

sample data

TASK 1

Display on page flights in h2 tag according to the below example:

departureAirport.city.name —> arrivalAirport.city.name arrivalDate price.value price.currencySymbol

eg. Kraków - Barcelona 2022-12-21T14:00:00 98 zł

task 1

TASK 2

Find the first cheapest fare - return the departure, arrival airport and it's price in an object.

task 2

TASK 3

How many flights from Kraków to Dortmund are in the list - return a number?

task 3

OPTIONAL TASK

On the list from task 1 display flight duration in minutes.

optional

flight-fares's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.