Hello community!
I completed my third JS challenge (yes, I'll count all of them).
This challenge was definitely hard!!! Took me two weeks and two tries. Extra features added: localStorage for all interactive elements, and a small pop-up button when a pledge is finished to reset localStorage.
Three questions:
- How to change the color of the inner logo inside the bookmark svg on click? Only figured out for background, not the inner logo.
- Why do you sometimes have to double click a button for it to work when its addeventlistener is only one click?
- Sometimes the count of my pledges (third section) does not decrement after a payment. Feels like it works whenever it wants to, if someone could tell me why, I'd appreciate it.
Thanks for reading and answering!