1Preventing CLS
Have you ever tried to click a button, but an image suddenly loaded, pushing the button down, and you clicked an ad instead? That is a Layout Shift. Google heavily penalizes sites for this. Mid-level developers prevent this by always specifying width and height attributes on images, or using CSS aspect-ratio boxes, so the browser reserves the exact space before the image even downloads.
