Skip to content

A Currency Converter is a simple application that allows users to convert an amount from one currency to another based on predefined conversion rates. Below is a detailed description of how such a converter can be implemented using HTML, CSS, and JavaScript, leveraging arrays for the conversion rates.

Notifications You must be signed in to change notification settings

arjunlimboo/Currency-Converter-Using-HTML-CSS-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Converter

A simple Currency Converter web application that allows users to convert an amount from one currency to another. It supports multiple currencies, including USD, EUR, GBP, NPR, and IND.

Features

  • Convert between five currencies:
    • USD (US Dollar)
    • EUR (Euro)
    • GBP (British Pound)
    • NPR (Nepalese Rupee)
    • IND (Indian Rupee)
  • Provides real-time conversion based on predefined rates.
  • Validates user input to ensure accuracy.

Project Structure

The project consists of three main files:

  1. index.html: Contains the structure of the currency converter.
  2. style.css: Provides the styling for the application.
  3. action.js: Contains the logic for performing the currency conversion.

How to Use

  1. Enter the Amount:

    • Input the amount you want to convert.
  2. Select Currencies:

    • Choose the From Currency and To Currency from the dropdown menus.
  3. Convert:

    • Click on the Convert button to get the converted amount displayed on the screen.

Installation and Usage

  1. Clone the Repository:
    git clone https://github.com/your-username/currency-converter.git

About

A Currency Converter is a simple application that allows users to convert an amount from one currency to another based on predefined conversion rates. Below is a detailed description of how such a converter can be implemented using HTML, CSS, and JavaScript, leveraging arrays for the conversion rates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published