StealThis .dev
Сторінки Середня

Music — Album Page (tracklist · credits)

A dark, album-art-driven detail page for a fictional record. A large CSS-drawn cover glows its theme accent across the header beside the album title, artist, year, track count and a computed total runtime. A numbered tracklist shows featured artists, play counts, per-track like toggles and an animated equalizer on the active row. Simulated playback drives a glassy now-playing bar with a draggable, keyboard-seekable scrubber, plus credits, a producer notes block and a More by this artist album row.

Відкрити в Lab
html css vanilla-js
Цілі: JS HTML

Код

Album Page (tracklist · credits)

A full album detail page for the fictional record Midnight Reservoir by Neon Tides. The header pairs a large, fully CSS-drawn cover — layered gradients, blurred shapes and a fading grid — with the album title, artist line, release year, track count and a runtime that is summed from the tracklist at load. The cover’s two accent colors theme the page: a soft glow bleeds behind the header and into the now-playing bar. A primary Play button sits alongside save (heart), add-to-playlist, download and an overflow ”…” menu.

The numbered tracklist lists each title with its featured artists, a compact play count, a like toggle and a duration. Clicking a row plays it; the active row swaps its number for a pause control and animates an equalizer in place of the timestamp. Album-level Play starts the first track and morphs to Pause, and a sort toggle flips the list between album order and most-played. Playback is fully simulated with timers — a glassy now-playing bar tracks elapsed time and auto-advances between tracks.

The scrubber supports click-to-seek, pointer dragging and ArrowLeft/ArrowRight keyboard seeking, and exposes role="slider" with live aria-valuenow. Play and like controls use aria-pressed, the overflow menu uses aria-expanded, and a small toast() helper confirms actions like saving, downloading or sharing. Below the player sit a three-column credits grid (production, writing, release, plus a ℗ line) and a More by this artist row of additional CSS-drawn covers.

Illustrative UI only — fictional artists, albums, tracks, and data. No real audio playback.