As a newcomer to Angular, I am interested in dynamically changing the page content or displaying a new component with fresh information. My website currently features cards, which you can view by following this Cards link.
I would like to update the page content to show different information when each card button is clicked. I have already written a method but am unsure about what needs to be included inside it.
Component.html
<a href="#" class="btn btn-primary" (click)="onFirstClick()">Go somewhere</a>
component.ts
onFirstClick() {
}
Do I need to create a new component to display new content? Any guidance on next steps would be greatly appreciated.