Inspiration
I noticed that my Spotify library was a mess of different mood playlists.
What it does
You select a mood (good, vaguely dissatisfied, bad), then a flavor of that mood, and you'll be given a song I like to listen to.
How I built it
I used repl.it's HTML/CSS/Javascript editor to build the website, then deployed it in Netlify.
Challenges I ran into
Figuring out how to use Javascript was a challenge because I've never used it in any of my projects before. I had to do a lot of Googling to figure out how to make it display elements/text on the page but knowing about classes/variables/switch statements from previous CS classes was pretty helpful.
Accomplishments that I'm proud of
I really like how the design came out, and that the website was fully functional in the first place.
What I learned
I learned how to use Javascript to take user input, display it on a page, and show/hide elements.
What's next for mood
I'm going to try and make the Javascript more efficient because currently, it instantiates a new song object based on a switch statement after the "get song!" button is pressed. I want to find a way to read an excel file so instead the process would be flavor chosen --> within that sheet randomly choose a song to display --> write values into array --> display based on array index. I'm more familiar doing this with python/using arrays but hopefully, I can transfer that knowledge into using Javascript.
Log in or sign up for Devpost to join the conversation.