               txt += `<br><br><br><b><h3>Sadly you have no search results. Try checking your spelling or changing your search terms.</h3></b>`;
                    }
                }  // end of ELSE

            document.getElementById("results").innerHTML = txt;
        }).catch(function(error){
            console.log('Whoopsie!', error);
        });
    }

    function buildMovieList(movies){
        // HELPER FUNCTION FOR USER ACTION
        
        let i = 0;      // for number of movie documents re