Question: I have a JAVASCRIPT code that I need help fixing. It is for my app, that gives the user options to chose a 'Country', 'Movie

I have a JAVASCRIPT code that I need help fixing. It is for my app, that gives the user options to chose a 'Country', 'Movie Genre', and choice of either 'movie' or 'tv show'. I have a table called NetflixContent that has the list of all the movies. I am having trouble outputting a movie suggestion. When the user picks a country, genre, and movie/ tv show, it'll just show a blank screen rather than a movie option for the table I have. Here is the code I have so far:

// var contentList = [(getColumn("Netflix Content", "Type"))]; var allContentList = [(getColumn("Netflix Content", "Title"))]; var genreList = [(getColumn("Netflix Content", "Genre"))]; var countryList = [(getColumn("Netflix Content", "Country"))]; var NetflixContentIndex = allContentList.length-1; // var filteredContentList = []; var filteredAllContentList = []; var filteredGenreList = []; var filteredCountryList = []; // onEvent("beginButton", "click", function( ) { setScreen("customizePage"); }); // onEvent("generateButton", "click", function( ) { var typeInput = getText("contentInput"); var countryInput = getText("countryInput"); var genreInput = getText("genreInput"); for (var i = 0; i

I have a JAVASCRIPT code that I need help fixing. It is

for my app, that gives the user options to chose a 'Country',

'Movie Genre', and choice of either 'movie' or 'tv show'. I have

WELCOME TO THE Entertainment Generator App! a Get Started! Built on Code Studio Movie or TV Show? Movie From Which Country? Argentina Which Genre? Comedies Generate Entertainment Suggestions Built on Code Studio We suggest... ENJOY! Built on Code Studio WELCOME TO THE Entertainment Generator App! a Get Started! Built on Code Studio Movie or TV Show? Movie From Which Country? Argentina Which Genre? Comedies Generate Entertainment Suggestions Built on Code Studio We suggest... ENJOY! Built on Code Studio

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!