Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Frontend
/
Frontend
A hero image needs a square crop on phones and a wide crop on desktops. Which markup expr…
from Frontend
advanced
1 min
A hero image needs a square crop on phones and a wide crop on desktops. Which markup expresses that art-direction requirement?
A `<picture>` element with media-conditioned `<source>` elements and an `<img>` fallback
One oversized `<img>` hidden with `overflow: hidden` at every width
A background image whose file name is changed by JavaScript after every resize event
Check
Ask AI about this kata
Report an error
previous kata
Name the responsive-image attribute that lists candidate image resources with width or pi…
Fill in
next kata
Which JavaScript syntax establishes an asynchronous module boundary that a bundler can us…
Quiz
A new version is available
Reload