Skip to content

2iaad/Convertify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 Convertify β€” Exchange Rate Calculator

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

πŸ–ΌοΈ Preview

App Screenshot


πŸš€ Features

βœ… Real-time currency conversion

Uses live data from ExchangeRate-API through fetch() and async/await.

⚑ Live suggestions (autocomplete)

Typing "U" instantly suggests "USD" or any matching currency.

πŸ”„ Currency Switch Button

Swap From/To currencies with one click.

⏳ Loading Spinner

Shows a loading animation while fetching data.

❗ Inline Error Messages

Displays errors directly in the UI (e.g., invalid currency).

🎨 Glassmorphism UI

A modern blurred-card look using CSS backdrop-filter.

🎯 Smooth animations

Buttons and hover interactions feel responsive & polished.


πŸ› οΈ Tech Stack

Technology Purpose
HTML Page structure
CSS Styling (glassmorphism, animations, gradients)
JavaScript Logic, API calls, autocomplete, DOM
ExchangeRate API Fetching live exchange data

Work Flow

         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚   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   β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

What I Learned From This Project ?

-> 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

About

Convertify is a simple and elegant currency converter web application built using HTML, CSS, and JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published