Create class called Catalog that holds all of the Media items in our library


I am not understanding what should be doing with the class Catalog.

Should Catalog be the parent of Media and save an array of the different kinds of Media ?
Can you help me please?

Classes | Codecademy

Thank you

Best regards

Hi Filipa,
welcome to the forums!

You are talking about the extra challenges in the last step, right?
It doesn’t specifically say whether that should be a parent class of media or an independent class.
But consider what it should be doing: It should hold all the media items in your library. How do the media items get there?
When you think of way to get all your media items to the class constructor, I think the answer comes with that.