Javascript – how can i select all the elements and still add addEventListener for each of them?
I want to have closing button in some sections in my web. what js code do i need so that i can select all the divs with the class "close" and all of them do their jobs i tried this…