• This is the navigation bar submenu I created with links to this page, and the Javascript program I created that outputs a random song from a playlist.
JavaScript Usage Music Shuffle API Example

Coding of Navbar Submenu:

  • As you can see, I created this table using Javascript and HTML fragments. This was made as an “include” so I can include this table in any post I want using the include command like so:

Coding of Music Shuffle Song Selector:

  • I used numerous commands such as “var”, “randomSelect()”, “document.getElementById”, “const”, and “onclick”
  • This function takes a list of links to songs from a spotify playlist, and their names, and outputs a link to a random song after the push of the button.