raccoons-2014/Mood_Ring — pull request #14 by patriciacarbajal (2014-12-22 21:19:28+00:00)
Title: Specialize search

@amixofpersons

I made a div at the top of the index page to select a genre to begin. Once a user selects a genre, the genre selector page is hidden and the mood selector page is unhidden. The id of the genre button is used as an additional param in the soundcloud query.
It seems to work most of the time, but it seems like sometimes it doesn't work without clicking a few times - presumably because there whatever came up in that track is not valid, so you have to keep clicking to get to one that is valid. I can work on this more later. It can probably be solved with "hasOwnProperty."

I also added a randomizer to mix up the tracks. .

Last but not least, made a couple of modifications to the css to support the other changes

Let me know what you think!