async showListData(restaurants) {
    const list = document.querySelector('.favorite-list');

    restaurants.forEach((restaurant) => {
      list.innerHTML += this.elmListCard(restaurant);
    });
  }
/**
   * Show list data restaurant per items
   */
Show list data restaurant per items
Show list data restaurant per items
async showListData(restaurants) {
    const list = document.querySelector('.favorite-list');
    restaurants.forEach((restaurant) => {
      list.innerHTML += this.elmListCard(restaurant);
    });
  }
async showListData ( restaurants ) { const list = document . querySelector ( '.favorite-list' ) ; restaurants . forEach ( ( restaurant ) => { list . innerHTML += this . elmListCard ( restaurant ) ; } ) ; }
Show list data restaurant per items
Show list data restaurant per items