Last active
April 11, 2023 15:31
-
-
Save NyaGarcia/84fc3d9d8aba99dde8483d6046b15fa0 to your computer and use it in GitHub Desktop.
NgBytes Standalone Pokemon Card
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-card> | |
<mat-card-header> | |
<mat-card-title>{{ pokemon.name }}</mat-card-title> | |
<mat-card-subtitle>{{ pokemon.type }}</mat-card-subtitle> | |
</mat-card-header> | |
<img | |
mat-card-image | |
[src]="pokemon.imageUrl" | |
[alt]="'Photo of a ' + pokemon.name" | |
/> | |
<mat-card-content> | |
<h3>Stats</h3> | |
<p>Attack: {{ pokemon.attack }} Defense: {{ pokemon.defense }}</p> | |
</mat-card-content> | |
</mat-card> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment