Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 811 Bytes

File metadata and controls

31 lines (25 loc) · 811 Bytes

Text Diff Viewer

🔗 Live Demo

A React-based web app that compares two texts and highlights differences:

  • Red → deleted words
  • Green → added words

Features

  • Word-by-word text comparison
  • Highlights deletions and additions clearly
  • Clean and responsive UI

Tech Stack

  • React (via Vite)
  • JavaScript
  • CSS

Setup

  1. Clone the repo: git clone <your-repo-url>
  2. Navigate to the project folder: cd text-diff-viewer
  3. Install dependencies: npm install
  4. Start the dev server: npm run dev
  5. Open http://localhost:5173 in your browser

Usage

  1. Enter original text in the Old Text field
  2. Enter modified text in the New Text field
  3. Differences are highlighted automatically

License

Open-source and free to use