SauravMukherjee44 / Aec-Library-Website

This is an Open-Source Library Website in which you get Resources to learn different topics, Donate book section to donate your old books, and a Book issue section to keep a record of all the books issued. -HacktoberFest Accepted
https://aec-library-wbsite.netlify.app/
MIT License
105 stars 240 forks source link

Feature: Inconsistent Class Name Usage #1490

Open tamannaaaaa opened 1 year ago

tamannaaaaa commented 1 year ago

Feature description

In the given code snippet, the class name "right-panel-active" is used to manipulate the appearance of the container when switching between the sign-up and sign-in panels. While this works for the current scenario, using a hard-coded class name directly in the JavaScript code can lead to maintenance challenges in the future. If the class name ever needs to be changed for any reason, it would require updating the JavaScript code as well, potentially causing issues if not done consistently.

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?