creativecommons / search

Creative Commons Search Portal
https://search.creativecommons.org/
MIT License
19 stars 115 forks source link

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

Open Silvia-Wachira opened 1 week ago

Silvia-Wachira commented 1 week ago

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

Additional context

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

Resolution

possumbilities commented 1 week ago

@Silvia-Wachira Can you please:

Silvia-Wachira commented 1 week ago

@possumbilities As far as I'm concerned, It is not inheriting from vocabulary. Do correct me if I'm wrong