Question-8
✓ Published0🌍 Public
This example displays a static biodiversity collage image sourced from Defenders of Wildlife, presented within a styled card on a light background. The page uses plain JavaScript to create an `img` element and append it to a container, along with a caption. A click listener toggles a CSS class that applies a 1.05 scale transform, giving the image a subtle zoom effect. The layout is centered with flexbox, and the card includes a drop shadow and rounded corners.
AI-generated descriptionMIT Licensed