TextChef is a simple text manipulation tool built using React. It allows users to perform various operations on text such as clearing, copying, pasting, converting to uppercase or lowercase, and removing extra spaces. Additionally, it provides a summary of the text including the number of lines, words, and characters.
- Clear: Clears the text input.
- Copy: Copies the text to the clipboard.
- Paste: Pastes text from the clipboard into the input area.
- Convert to Upper Case: Converts the text to uppercase.
- Convert to Lower Case: Converts the text to lowercase.
- Remove Extra Spaces: Removes extra spaces from the text.
- Text Summary: Provides a summary of the text including the number of lines, words, and characters.
- Dark Mode: Toggle between light and dark modes.
-
Clone the repository:
git clone https://github.com/the-zoomeee/Text-manipulation-app-using-react.git
-
Navigate to the project directory:
cd Text-manipulation-app-using-react
-
Install dependencies:
npm install
-
Start the development server:
npm start
- Open your browser and navigate to
http://localhost:3000
. - Use the navigation bar to switch between Home, About, and Contact pages.
- Type or paste your text into the text area on the Home page and use the provided buttons to manipulate the text.
- Toggle between light and dark modes using the switch in the navigation bar.
Located in src/components/Navbar.js
- A navigation bar to navigate between different pages and toggle dark mode.
Located in src/components/Alert.js
- Displays alert messages based on user actions.
Located in src/pages/Home.js
- The main page where users can manipulate text.
Located in src/pages/About.js
- Provides information about the app and its features.
Located in src/pages/Contact.js
- A form for users to reach out with questions or feedback.
Located in src/pages/NotFound.js
- Displays a 404 message when a user navigates to a non-existent route.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
Tip
Explore the full functionality of TextChef and experience seamless text manipulation!