Skip to content

srishtipurohitaps/argumentmirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6cf63e5 · · Sep 18, 2025

History

3 Commits
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025
Sep 18, 2025

Repository files navigation

Argument Mirror

Argument Mirror is a lightweight browser‑based tool that helps you explore both sides of an argument.
It guides you step‑by‑step::

  1. Write your own stance on a topic.
  2. Create a counter‑argument from the opposite perspective (with optional random prompts).
  3. See both arguments side‑by‑side and compare tone, balance, and detail.
  4. Get an insight analysis, keyword frequency, tone breakdown, bias check, and balance score.
  5. Download a .txt summary of your work and reflections.

Designed for critical thinking, debate prep, empathy‑building, and bias awareness, all running 100% offline in your browser using HTML, CSS, and JavaScript.

Features

  • Your View: Write your stance on any topic.
  • Role Reversal: Argue the opposite side with support from random perspective prompts.
  • Side‑by‑Side Comparison: Compare both arguments visually.
  • Insight Analysis: Keyword frequency, tone check, bias meter, and balance score.
  • Offline Storage: Retains input across pages/sessions via localStorage.
  • Download Results: Exports a text report of your analysis and reflections.

Built With

  • HTML5, CSS3, Poppins font, magenta theme
  • Vanilla JavaScript (ES6+)
  • JSON data files for prompts, stopwords, and tone dictionary