[Feature] Replace the dynamic styling in listing.js with class-based CSS approach #303
Open
1 task done
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing feature
🟩 priority: low
Low priority and doesn't need to be rushed
🏁 status: ready for work
Ready for work
Problem
In the
_assets/js/listing.js
file, to make the resources visible, the use of dynamic styling has been done.Description
Instead of creating a new style element for the displaying of resource cards, It will be better to use a css property of
display: none
via a class based approach. we can create a new utility class for the task.The link to
listing.js
file: https://github.com/creativecommons/cc-resource-archive/blob/main/docs/_assets/js/listing.jsImplementation
The text was updated successfully, but these errors were encountered: