Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nidhiupman568/numberformat-converter-using-react.js
๐ Welcome ๐ to the Number Format Converter project! ๐ข This interactive web application ๐ฅ๏ธ allows users ๐ฅ to convert numbers ๐ข between various formats such as decimal, binary, octal, and hexadecimal. ๐ Built with ReactJS โ๏ธ, CSS ๐จ, and JSX โจ, this tool provides a comprehensive range of features to handle number conversions and calculations.
https://github.com/nidhiupman568/numberformat-converter-using-react.js
css front-end-development functional-components-reactjs html javascript jsx reactjs
Last synced: about 2 months ago
JSON representation
๐ Welcome ๐ to the Number Format Converter project! ๐ข This interactive web application ๐ฅ๏ธ allows users ๐ฅ to convert numbers ๐ข between various formats such as decimal, binary, octal, and hexadecimal. ๐ Built with ReactJS โ๏ธ, CSS ๐จ, and JSX โจ, this tool provides a comprehensive range of features to handle number conversions and calculations.
- Host: GitHub
- URL: https://github.com/nidhiupman568/numberformat-converter-using-react.js
- Owner: nidhiupman568
- Created: 2024-07-16T17:40:13.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-29T08:23:21.000Z (4 months ago)
- Last Synced: 2024-08-29T09:46:07.253Z (4 months ago)
- Topics: css, front-end-development, functional-components-reactjs, html, javascript, jsx, reactjs
- Language: JavaScript
- Homepage: https://number-format-converter-nidhiupman-using-react-js.vercel.app/
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ข Number Format Converter Project Using React.JS ๐ข
๐ Welcome ๐ to the **Number Format Converter** project! ๐ข This interactive web application ๐ฅ๏ธ allows users ๐ฅ to convert numbers ๐ข between various formats such as decimal, binary, octal, and hexadecimal. ๐ Built with **ReactJS** โ๏ธ, **CSS** ๐จ, and **JSX** โจ, this tool provides a comprehensive range of features to handle number conversions and calculations. ๐งฎ
## ๐ Description
The **Number Format Converter** ๐ข is a dynamic web application ๐ฅ๏ธ designed ๐ to assist users ๐ฅ in converting numbers ๐ข across different formats. ๐ With its user-friendly interface ๐ฅ๏ธ and powerful features ๐ง, users ๐ฅ can:
- Input a number ๐ข and get its representations in binary, octal, decimal, and hexadecimal formats. ๐
- Perform rounding ๐ข and display significant digits. โจ
- See the fractional part of the number ๐ข as a numerator and denominator. ๐งฎ
- Get the integer part of the number ๐ข in word format. ๐## ๐ ๏ธ Built With
- **ReactJS** โ๏ธ: JavaScript library ๐ for building user interfaces ๐ฅ๏ธ.
- **CSS** ๐จ: For styling ๐จ and making the application visually appealing โจ.
- **JSX** โจ: Syntax extension for JavaScript ๐ป, allowing you to write HTML elements ๐ and components ๐ง in ReactJS.## ๐ How to Use
1. **Clone** ๐ the repository:
```bash
git clone 'https://github.com/nidhiupman568/NumberFormat-Converter-Using-React.JS.git' ๐
```2. **Navigate** ๐ถโโ๏ธ to the project directory:
```bash
cd number-format-converter ๐
```3. **Install** ๐ฅ the required modules:
```bash
npm install number-to-words ๐ฅ
```4. **Open** ๐ `App.js` to see the main component ๐งฉ and `Numberformat.js` for conversion logic ๐งฎ.
5. **Open** ๐ `Numberformat.css` to view the styling ๐จ.
6. **Start** ๐ the application by running:
```bash
npm start ๐
```7. **Open** ๐ your web browser ๐ and navigate to:
```
http://localhost:3000/ ๐
```## ๐ธ Screenshots (Output)
Hereโs a sneak peek ๐ผ๏ธ of the Number Format Converter ๐ข in action โณ:
![number format](https://github.com/user-attachments/assets/697452ab-2243-4749-8c6f-d3edbd33378f)
## ๐ Steps to Create the Application
1. **Set Up** ๐ ๏ธ a new React project ๐ฅ๏ธ using the command:
```bash
npx create-react-app <> ๐
```2. **Navigate** ๐ถโโ๏ธ to the project folder ๐:
```bash
cd <> ๐
```3. **Create** ๐ a folder called `components` ๐ฆ and add ๐ the following files ๐:
- `Numberformat.js` ๐ข: Contains the logic for number format conversion ๐งฎ, rounding โจ, significant digits ๐ข, and word representation ๐.
- `Numberformat.css` ๐จ: Contains the styling ๐จ for the Number Format Converter elements ๐ฅ๏ธ.4. **Install** ๐ฅ the `number-to-words` module ๐ ๏ธ to convert integers into words:
```bash
npm install number-to-words ๐ฅ
```### Example Code
- **`App.js`** ๐ฅ๏ธ: Imports the `Numberformat` component ๐งฉ and exports it ๐.
- **`Numberformat.js`** ๐ข: Handles conversion logic ๐งฎ, rounding โจ, significant digits ๐ข, and word representation ๐.
- **`Numberformat.css`** ๐จ: Styles the Number Format Converter ๐ข.## ๐ Enjoy using the Number Format Converter! ๐ Feel free to share ๐ฃ๏ธ your feedback ๐ or contribute ๐ค to the project by making a pull request ๐. Happy converting! ๐ข๐ซ
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.The page will reload when you make changes.\
You may also see any lint errors in the console.### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)