diff --git a/README.md b/README.md index fd76323..6a56db6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Currency and Weight Converter +# Currency Converter 1. **Currency Conversion**: - Convert prices from one currency to another. @@ -19,15 +19,9 @@ - Uses real API endpoint (`https://api.frankfurter.dev/v2/rates`) to get the latest exchange rates. - Displays the last updated time for the exchange rate. -1. **Weight-Based Price Calculations**: - - Calculate price per kilogram for a given weight. - - Calculate price for a specific unit weight (e.g., 250g). - - For example: compare prices in supermarket: - * enter price in PLN - * add weight for 200g in PLN - * converts to kilogram price in EUR - * add weight for 250g in EUR - * converts to 250g price in EUR +1. **Optional Price per Weight Calculations**: + - Calculate price per kilogram when weight is provided + - Compare products by weight (e.g., 200g vs 250g packages) 1. **Localization**: - Automatically detects browser language and switches between English and German. @@ -47,16 +41,13 @@ 1. Select the **current currency** and the **target currency**. 1. (Optional) Add a **bank markup percentage** to adjust the exchange rate (positive values reduce the rate, negative values increase it). 1. Enter the **price** in the current currency. -1. (Optional) Add the product's **weight** and a **custom unit weight** (e.g., 250g). -1. The app will calculate: - - Price in the target currency. - - Price per kilogram (if weight is provided). - - Price for the specified unit in **target currency** (if unit weight is provided). +1. (Optional) Enter **weight** to calculate price per kilogram +1. The app shows the price in the target currency 1. Click the ๐ button to fetch the latest exchange rates. 1. Use the ๐งน button to reset all input fields while preserving your currency preferences. Access the app directly from GitHub Pages: -๐ [Currency and Weight Converter](https://leneffets.github.io/currency/) +๐ [Currency Converter](https://leneffets.github.io/currency/) ## Screenshot  diff --git a/currency_192.png b/currency_192.png new file mode 100644 index 0000000..e24bc1c Binary files /dev/null and b/currency_192.png differ diff --git a/currency_512.png b/currency_512.png new file mode 100644 index 0000000..db0bedc Binary files /dev/null and b/currency_512.png differ diff --git a/favicon.png b/favicon.png index 1a1f13b..e55c436 100644 Binary files a/favicon.png and b/favicon.png differ diff --git a/index.html b/index.html index 8c2c7b1..9e0b557 100644 --- a/index.html +++ b/index.html @@ -3,11 +3,17 @@
-