Close

Writing submit.html

A project log for SpinLast

Automatically scrobble your favorite radio tracks from Spinitron.com to last.fm

mx-jack-nelsonMx. Jack Nelson 04/24/2023 at 23:060 Comments

The SpinLast web page submit.html displays the latest track scrobbled from the submitted Spinitron radio station to a user's Last.fm account. The label informs users that "This field will update automatically as you listen." The page features a heading, a label, a message area, and a "Go back" link. The message area shows the latest scrobbled song and artist or indicates if no song has been scrobbled. The "Go back" link redirects users to the main page to enter a new Spinitron URL. Additionally, JavaScript code periodically updates the message area with the latest scrobbled song by making AJAX requests to the "/latest_scrobble" route. The page has the same clean design with a centered container and a light background.

Discussions