How to build movie picker for website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to build movie picker for website?

How to build movie picker for website?

20th Feb 2020, 1:07 AM
Sait Kilic
Sait Kilic - avatar
4 Answers
0
What is a movie picker exactly? Like Netflix´s first page?
21st Feb 2020, 1:56 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
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.
21st Feb 2020, 2:00 AM
Sait Kilic
Sait Kilic - avatar
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.
21st Feb 2020, 2:03 AM
Sait Kilic
Sait Kilic - avatar
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.
21st Feb 2020, 2:08 AM
Fernando Pozzetti
Fernando Pozzetti - avatar