Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prernasharma28 authored Sep 6, 2024
1 parent 4191581 commit 46a5d5a
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
**Currency Converter Web Application**

**πŸ“œ Overview**

This web application allows users to convert currencies using an intuitive interface. The application consists of a Java backend to handle currency conversion logic and a frontend to display and interact with the conversion results.

**πŸ“ Project Files**

Currency.java: Java file that contains the logic for currency conversion. It interacts with external APIs or databases to fetch current currency exchange rates.
index.html: The main HTML file that provides the structure of the web application.
script.js: JavaScript file that manages the client-side logic, including interactions with the backend and updates to the user interface.
styles.css: CSS file that styles the web application to ensure a visually appealing and responsive design.

**🌟 Features**

Currency Conversion: Users can convert between different currencies.
Real-Time Updates: The application fetches and displays the latest currency exchange rates.
Responsive Design: The application is designed to work well on both desktop and mobile devices.

**πŸ› οΈ Setup**

**Prerequisites**
A Java Development Kit (JDK) for running Currency.java.
A modern web browser for viewing index.html.
Basic knowledge of HTML, CSS, and JavaScript.
Getting Started

**Run the Java Code:**

Ensure you have JDK installed on your system.
Compile Currency.java and run it to start the backend service. This will handle currency conversion requests from the frontend.

**Open the Web Page:**

Open index.html in a web browser to view the frontend of the application.

**Link Frontend and Backend:**

Ensure script.js is correctly configured to make requests to the Java backend. Update any endpoint URLs if necessary.

**βš™οΈ Functionality**

**Currency Conversion:** Enter the amount and select currencies to convert. The result is displayed on the page. πŸ’±
Styling: The look and feel of the application is managed through styles.css. 🎨
Client-Side Interaction: script.js handles user interactions, form submissions, and dynamic updates. πŸ–₯️

**πŸ“ Code Details**

Currency.java: Contains methods for fetching exchange rates and performing currency conversion.
index.html: Sets up the structure of the application, including form elements and display areas.
script.js: Manages client-side logic, including fetching data from the Java backend and updating the DOM.
styles.css: Provides styling to ensure a responsive and attractive user interface.

**πŸ› οΈ Troubleshooting**

Java Backend Issues: Ensure that Currency.java is running correctly and is accessible from the frontend.
UI Issues: Check the console for errors and ensure that script.js and styles.css are properly linked in index.html.
Conversion Accuracy: Verify that the currency conversion logic in Currency.java is correctly implemented and that the external APIs or data sources are up-to-date.

**🀝 Contribution**

Contributions are welcome! Feel free to submit issues or pull requests to improve the functionality or design of the application.

**πŸ“„ License**

This project is licensed under the MIT License. See the LICENSE file for details. πŸ“œ

0 comments on commit 46a5d5a

Please sign in to comment.