+ 2
How to build movie picker for website?
How to build movie picker for website?
4 Respuestas
0
What is a movie picker exactly? Like Netflix´s first page?
0
When select a genre and click the button it’s show a random movie or when the select a movie it’s show you list a best matches like your watch or like.
0
I am trying this all day but i can’t do that. Do you have a iddea how can i build this website ? And sorry my bad English.
0
I will share you as little as I know.
Create a Dictionary (or whatever the equivalent is)... you need an array of keys and values.
The key will be the name of the movie, the value will be the genre. Then use a for loop to display the names of those movies (keys) which match the genre (value) written in the console, or a textbox, or whatever input you are using.
You can use now a random number generator to access the movies that match the genre.