What is JavaScript event delegation?Subscribe on YouTube PreviousHow to use the object-fit CSS property to scale images responsivelyNextPreserve image aspect ratios with CSS