To delete an element, click the x icon on the element edge point, see below:
Or, select the element with your mouse on the timeline
and hit the Delete button on your keyboard if you are on a Windows PC or FN + Del button if you are on Mac.
That's it π