FA21-bcs-A Q2

Describe what is event bubbling in JS with an example also describe how can you bind an event to the tags which are added after page load.

Suppose you have following end point

https://usmanlive.com/wp-json/api/storiesGETReturns an array of stories

prepare an ajax api call and on its success send the delete request to delete first story. See below end poit

https://usmanlive.com/wp-json/api/stories/:idDELETEReplace :id with the id of the story to Delet