# Flight Lookup A simple static webpage that takes a flight number and airline as input and displays the flight's origin and destination. ## Files - `index.html` — page markup - `style.css` — styling - `data.js` — mock data source (airlines, airports, flights) - `app.js` — form handling and result rendering ## Usage Open `index.html` in a browser, or serve the directory: ```sh python3 -m http.server 8000 ``` Then visit http://localhost:8000. ## Example flights | Airline | Flight | Route | |---------|--------|-------| | American (AA) | 100 | JFK → LAX | | Delta (DL) | 123 | ATL → SFO | | United (UA) | 789 | ORD → LHR | | British Airways (BA) | 117 | LHR → JFK | | Lufthansa (LH) | 400 | FRA → JFK | ## Data source Flight data is mocked in `data.js`. To use a real source (e.g. FlightAware AeroAPI), replace the `lookupFlight` function with an `fetch` call to the API.