JavaScript
Hey Guys 👋, I am new at web dev but I am have some little experience in python, Anyway, The help I want from you guys is about my style of writing JavaScript and any useful advice you can give me and also when I add a new book the remove and read bottom doesn't seem to work. PS my focus is on the JS not the HTML and CSS. LINK: https://codepen.io/Yussif-Karim/pen/mdgyPBw
2 Replies
The issue is that at the start of the script, you attached the remove callback to all the available books on the dom at that time.
However, when you add a new book, it doesn't have that callback, so the button doesn't function.
I am sorry but can u plus point the line for the errors and if you can add the fixes