WebClub-NITK / Hacktoberfest-2k19

19 stars 115 forks source link

[Solved] "Get the difference between two text paragraphs(Ever used `git diff` !)" #298

Closed brendanAlbert closed 4 years ago

brendanAlbert commented 4 years ago

Resolves Issue #14

Description

How to run

  1. Open the html file, index.html, using your favorite browser.
  2. Notice there are 3 paragraph boxes. The top left or first paragraph box is the source of truth. It is used to show the difference between its text and whatever is contained in the top right or second paragraph box.
  3. Any text in the same position in both boxes will just display in the third box with out a background. Any text in the first box that is not in the second, will display in the third box and will have a green background. Any text in the second box that is not matched in the first box will display with a red background in the third box.

Checklist