public/js/index.js
// get data from local storage and populate table
get data from local storage and populate table
get data from local storage and populate table
function fillMyMovieTable(movieData){
  $('.movieRow').first().show();
  for(var i = 0; i < movieData.movies.length; i++){
    $('.movieRow').first().clone().appendTo('#movieTable')
    $('.movieTitle').last().text(movieData.movies[i])
  }
  $('.movieRow').first().hide();
}
function fillMyMovieTable ( movieData ) { $ ( '.movieRow' ) . first ( ) . show ( ) ; for ( var i = 0 ; i < movieData . movies . length ; i ++ ) { $ ( '.movieRow' ) . first ( ) . clone ( ) . appendTo ( '#movieTable' ) $ ( '.movieTitle' ) . last ( ) . text ( movieData . movies [ i ] ) } $ ( '.movieRow' ) . first ( ) . hide ( ) ; }
get data from local storage and populate table
get data from local storage and populate table