Skip to content

[Feature] Add "Clear Code" Button to Reset the Input Area #734

@DharshiniPujarolla

Description

@DharshiniPujarolla

Problem Statement

After pasting and analyzing code, there is no quick way to clear the input
text area. Users have to manually select all and delete, which is unnecessary
friction when switching between multiple code snippets.

Proposed Solution

Add a simple "Clear" button near the code input textarea in frontend/index.html.

Clicking it should:

  • Clear the textarea content
  • Reset the results section

This is a one-file change in plain HTML/CSS/JS — no build step, no frameworks.

Alternatives Considered

  • Pressing Ctrl+A and Delete manually (current workaround — not user-friendly)

Additional Context

File to edit: frontend/index.html

I'd like to work on this as part of GSSoC 2026 🙌

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions