Skip to content

Refactoring all functions which deal with getting data from adjacent child nodes #5

@akshayraichur

Description

@akshayraichur

Currently, to fetch the data from sibling nodes, I do it as event.target.previousElementSibling to get the data of say card description of the card title.
But this is completely inefficient and also not reliable. If in the future we decide to add a few more fields, that time this would fail terribly.
To avoid this, we can make it more dynamic by getting the element from className and then updating.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions