fake-api-docs
fake-api-docs copied to clipboard
Image elements do not have explicit width and height
Set an explicit width and height on image elements to reduce layout shifts and improve CLS.
All images from API have 640 x 480 therefore could set this dimensions in img tag, like this:
<img width="640" height="480" />