Once we click add, we trigger an event and execute a function not yet defined, It’s because we will pass this function from the parent, so we could control the data flow and the list of elements from there.