Skip to content

Commit 6d5faed

Browse files
committed
feat(calculator): adding Readme.md
1 parent b1bc8a6 commit 6d5faed

File tree

2 files changed

+29
-14
lines changed

2 files changed

+29
-14
lines changed

Temperature-convertor/README.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
1-
# Convertor temperator
2-
**A temperature convertor built using HTML, CSS, and JavaScript**
3-
This project allows users to make conversion temperature
1+
# Temperature Converter
42

5-
### Functionalities
6-
- **Basic Operations**: Supports addition, subtraction, multiplication, and division.
7-
- **Clear Functionality**: Allows users to clear the display.
8-
- **Error Handling**: Displays an error message for invalid operations.
3+
**A simple temperature converter built using HTML, CSS, and JavaScript**
4+
This project allows users to convert temperatures between different units (Celsius, Fahrenheit).
5+
6+
### Features
7+
- **Temperature Conversion**: Users can choose between different temperature units (Celsius, Fahrenheit, Kelvin).
8+
- **Dynamic Calculation**: Users can enter a temperature value, select the conversion type, and the result will be displayed instantly.
9+
- **Error Handling**: Displays an error message for invalid inputs (e.g., non-numeric values).
910

1011
## Description
11-
This JavaScript Desktop Calculator is a simple and user-friendly web application. It features a straightforward interface where users can input numbers and operators using buttons. The calculator evaluates the expression when the user clicks the "=" button and displays the result. If the input is invalid, it shows an error message. The design is clean, ensuring a pleasant user experience.
12+
This temperature converter allows users to easily switch between Celsius, Fahrenheit. The user can input a value and choose the desired conversion operation. The result is displayed dynamically on the screen.
13+
14+
The project uses simple HTML for structuring the page, CSS for styling and enhancing the user experience, and JavaScript to handle all the logic and perform the conversions in real-time.
1215

1316
## Prerequisites
14-
- `HTML`: Used for structuring the convertor interface.
15-
- `CSS`: Used for styling the convertor interface and making it visually appealing.
16-
- `JavaScript`: Handles user operations and show result.
17+
Before running this project, you need to have a basic understanding of the following technologies:
18+
- **HTML**: Used for structuring the user interface of the temperature converter.
19+
- **CSS**: Used to style the interface and make it visually appealing.
20+
- **JavaScript**: Handles the logic of temperature conversion and displays results based on user inputs.
21+
22+
## How to Use
23+
1. Open the HTML file in your web browser.
24+
2. Enter the temperature value you want to convert.
25+
3. Select the type of conversion (Celsius to Fahrenheit, Fahrenheit to Celsius, etc.).
26+
4. The converted value will be displayed automatically.
27+
28+
## Installation
29+
To run this project locally:
30+
1. Clone the repository or download the files.
31+
2. Open `index.html` in any web browser.
1732

1833
## Installing Instructions
1934
Explain how to set up and run your package/script on the user's local machine. Include steps like:
@@ -28,4 +43,4 @@ Explain how to set up and run your package/script on the user's local machine. I
2843
3. Open `index.html` in a web browser.
2944

3045
## Author
31-
- Aman Kumar (@[gbasset](https://github.com/gbasset))
46+
- Basset Gaëtan (@[gbasset](https://github.com/gbasset))

Temperature-convertor/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ button{
9999
background-color: #dddddd;
100100
display: block;
101101
text-align: center;
102-
height: 50px; /* Exemple de hauteur fixe */
103-
line-height: 50px; /* La même que la hauteur */
102+
height: 50px;
103+
line-height: 50px;
104104
}
105105
button.selected {
106106
color: #3300ff;

0 commit comments

Comments
 (0)