Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Problem with filter method using dataset attribute

my project does the following:
1/create a Book constructor function
2/ make instances and push them to an array
3/ map through the array and display items dynamically
4/ remove a certain array item upon clicking a button , yet when i filter the array using data attribute nothing changes and the array stays the same and i can’t find a solution please help!
sample of my code

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I guess you should remove whitespaces around ${book.title} in the 21st line.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading