gave all added content a class and assigned an onclick to each of them t...

...o destroy all elements with that class when clicked