Challenge
This is our internal demo project, not a client commission or a commercial service: a web interface for music streaming with search, artist cards, a player, playlists and favorites. We built it to show how we put together rich interactive interfaces without frameworks, and published it as an open demo.
We set ourselves the task of building a music streaming interface that reads at first glance as a familiar service: side navigation, a grid of covers and a player pinned to the bottom of the screen. Many people know that layout by heart from the big streaming platforms, so any mismatch in spacing, block order or button behavior stands out immediately. The demo had to hold up to that comparison while being our own build from scratch. We wanted to go through the whole path on one project, from grid and typography to the behavior of the player and windows, without ready-made UI libraries.
An interface without music is just a picture. The demo had to find real artists and tracks, show covers and play song previews, yet do without its own server, database or music library: the whole project is one static page. That meant pulling the catalog from an open source right in the browser and handling the moments when the source answers slowly or not at all. Search had to find both songs and artists by any word, not from a hand-picked list.
The player is the heart of such a product. Play, seek, volume and the timer have to respond at once, the next track has to start on its own, and the space bar has to pause playback without getting in the way of typing in search. Playlists and favorites had to survive a page reload even though the demo has no sign-up. And sections the demo does not have yet, such as sign-in and the “For you” and “New” picks, had to say so honestly instead of leading nowhere. The artist, playlist and favorites windows had to open over the catalog and close the way people expect, with Esc or a click on the backdrop.
Finally, a layout with a sidebar and a bottom player is designed for wide screens. On a laptop, tablet and phone the panel, the search bar, the track grid and the player start competing for space, and the interface had to rearrange itself step by step without losing a single scenario, from searching and starting a track to managing playlists. All of it without frameworks or a build step, so the demo opens as one file. On a phone the player had to stay within reach without covering the last cards, and navigation had to move into a menu.
Solution
We built the music streaming interface as a single page with three zones, navigation on the left, search and catalog in the center and a persistent player at the bottom, and fit it into one HTML file without frameworks.
On opening, the demo requests popular tracks. Search finds up to 24 songs and 12 artists at a time, the “Load more” button adds the next batch, and an artist card opens a window with their tracks and a search box. Any track can be played, hearted or added to a playlist. Playlists and favorites are saved in the browser, while sign-in, registration and the “For you” and “New” picks open a “Feature in development” window. All windows open over the catalog and close with Esc or a backdrop click. All interface labels are in Russian.
Technically it is HTML, CSS and JavaScript with no framework or build step: about 12 KB of styles and 31 KB of script sit inline in a 61 KB file served by Vercel, with Font Awesome icons and the Montserrat font. The catalog comes from the open iTunes Search API through two public relay servers: if the first does not answer within 15 seconds, the request goes to the second. Only tracks with a preview clip are shown, and the player timer updates smoothly, in step with the screen refresh. The space under the player is recalculated on resize, so the last cards never hide behind it.
A streaming service layout
The sidebar with Home, For you, New, Search, Playlists and Favorites, a first screen with a recommendation, a row of artists, a grid of covers and the player at the bottom sit exactly where people expect them. A green accent on a dark background highlights the main action, playback. On a phone the logic stays the same: navigation moves into a slide-out menu and the player stays at the bottom.
The open iTunes catalog
On start the demo requests popular tracks, a search returns up to 24 songs and 12 artists at a time, and “Load more” adds the next 24. Only tracks with a preview clip make it into the results, so there are no empty cards, and the “Refresh” button repeats the last query. While a request runs, a spinner turns on the search button, and if nothing is found, the demo says so.
A player with full controls
The player skips forward and back in a loop, seeks along a bar with a progress fill, shows the current time and duration and adjusts the volume. When a track ends, the next one starts, the space bar pauses playback unless the cursor is in a text field, and Esc closes open windows. The cover, title and artist of the current track are always visible in the player.
Playlists with no sign-up
Playlists are created, renamed and deleted in a couple of clicks, can be opened and played in full, and a track goes into an existing list or straight into a new one. Adding the same track twice is blocked. Favorites and playlists live in the browser and stay put after a reload. Favorites can be cleared with one button after a confirmation.
Artists and track search
An artist card opens a window with their genre and a list of up to 200 tracks. Inside there is a separate search box for a song or album title, and any track can be played, hearted or added to a playlist right from there without closing the window. While the artist's tracks load, the window shows a loading status.
A layout for any width
The layout rearranges itself at nine screen widths: the sidebar narrows from 260 to 220 and 80 pixels and turns into a slide-out menu on phones. The track grid goes from six columns to one, below 1500 pixels search collapses into an icon and opens over the whole page, and below 900 button labels hide, leaving icons.
Results
The project's key outcomes in numbers.
- 1HTML file for the demo
Markup, about 12 KB of styles and 31 KB of script fit into one 61 KB file, with no framework or build step.
- 9Layout adaptation points
The interface rearranges itself at nine screen widths, from 1500 down to 550 pixels.
- 24Tracks per request
Search returns up to 24 songs and 12 artists, and the “Load more” button adds the next 24.
- 12 daysFrom idea to demo
The interface, player, library and catalog connection took twelve days.
Project tech stack
The stack we used to build the solution for the client's task.
- Vercel
- HTML5
- CSS3
- JavaScript
- Font Awesome
- iTunes Search API
Ready to become the next case?
Tell us about your task — a manager will assemble the team, calculate the estimate and send a proposal within the first hour after the request. No obligations, no drip campaigns.



