Create ion-card in .ts file

Hello, I want to create few ion-cards programmatically through the .ts file. How can I do that?

What’s the scenario here?

I want to display a number of cards on the screen according to an Integer variable.
for example, if I have var numOfCards=5 so I want to display 5 cards. I have a card template in the html file. I want to create according more cards.

Here you go :slight_smile:

Thank you, where can I learn Angular ? Never worked on web programming before.