A simple, fast, and elegant web application to convert currencies in real-time using the ExchangeRate API.
Convertify was built as a learning project to practice:
- JavaScript (DOM, events, async/await, fetch)
- API requests
- CSS styling & UI/UX fundamentals
- Error handling & clean code structure
Uses live data from ExchangeRate-API through fetch() and async/await.
Typing "U" instantly suggests "USD" or any matching currency.
Swap From/To currencies with one click.
Shows a loading animation while fetching data.
Displays errors directly in the UI (e.g., invalid currency).
A modern blurred-card look using CSS backdrop-filter.
Buttons and hover interactions feel responsive & polished.
| Technology | Purpose |
|---|---|
| HTML | Page structure |
| CSS | Styling (glassmorphism, animations, gradients) |
| JavaScript | Logic, API calls, autocomplete, DOM |
| ExchangeRate API | Fetching live exchange data |
ββββββββββββββββββββ
β User inputs β
β amount/currenciesβ
βββββββββββ¬βββββββββ
β
βΌ
ββββββββββββββββββββββ
β Validate input β
βββββββ¬βββββββββββββββ
β valid?
βββββββββ΄ββββββββββββ
β β
NOβΌ YESβΌ
ββββββββββββββββ ββββββββββββββββββββββββ
β Show error β β Fetch exchange rate β
ββββββββββββββββ β (async/await fetch())β
βββββββββββββ¬βββββββββββ
β
βΌ
ββββββββββββββββββββββββββ
β Compute final result β
β amount * conversionRateβ
βββββββββββββ¬βββββββββββββ
β
βΌ
ββββββββββββββββββββββββββ
β Display output in UI β
ββββββββββββββββββββββββββ
-> How to communicate with APIs
-> How to use async/await properly
-> DOM manipulation and event listeners
-> Adding UI feedback (spinners, suggestions, errors)
-> Improving UX with simple touches
-> Git and GitHub workflows
-> Clean code organization
