all templates
APIs & Data

Currency Converter

Convert between currencies at today's real exchange rates.

Pick two currencies, type an amount, get the conversion using live rates from the European Central Bank. You'll learn query parameters and how to build dropdowns from data the API gives you.

What's inside

  • Live rates for 30+ currencies
  • Dropdowns populated from the API
  • URL query parameters, explained
  • Recomputes on any change
  • Free API, no key required

Quickstart

$ curl -LO https://devai.io/downloads/currency-converter.zip$ unzip currency-converter.zip && cd currency-converter$ open index.html   # or just double-click the file

Browse the code

The full source, exactly as the zip ships it.

loading…
Download .zip
loading tree…

about this tutorial

A devai.io starter tutorial — query parameters and computing from live data.