YaroslavGomon / RS-Clone

1 stars 2 forks source link

Podcast page class #34

Closed AndrewMotevich closed 1 year ago

AndrewMotevich commented 1 year ago

I added podcastPage class

const podcastPage = new PodcastPage(Number(target.dataset.id));
 // two different layouts: apple and spotify
// first:
podcastPage.drawPodcastPage("apple");
// second:
podcastPage.drawPodcastPage("spotify");

image image