Skip to content

[Bug] Remove Unused Commented Code to Improve Readability #295

@Silvia-Wachira

Description

@Silvia-Wachira

Description

The current 404.html code for the CC Search Portal contains commented-out sections. Keeping unused code can make the file cluttered.This can make it harder for future developers to read and maintain it.The best practice would be to remove unnecessary code to improve its clarity and maintainability.

Reproduction

  1. Navigate towards the 404.html page in the src folder
  2. Locate the commented code

Expectation

Removing unused commented code will lead to a cleaner codebase and this will improve maintainability and reduce confusion for future contributors.

Screenshot

404html1
404html2

Environment

  • Device: (eg. iPhone Xs; laptop)
  • OS: (eg. iOS 13.5; Fedora 32)
  • Browser: (eg. Safari; Firefox)
  • Version: (eg. 13; 73)
  • Other info: (eg. display resolution, ease-of-access settings)

Additional context

If the commented code is intended for use in the future then it can be documented more clearly .

Resolution

  • I would be interested in resolving this bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions