1: The Hero Editor
authorKai Moritz <kai@juplo.de>
Sat, 2 May 2020 07:11:04 +0000 (09:11 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 2 May 2020 07:11:04 +0000 (09:11 +0200)
d) Format with the UppercasePipe

src/app/heroes/heroes.component.html

index c48ee17..822465e 100644 (file)
@@ -1,3 +1,3 @@
-<h2>{{hero.name}} Details</h2>
+<h2>{{hero.name | uppercase}} Details</h2>
 <div><span>id: </span>{{hero.id}}</div>
 <div><span>name: </span>{{hero.name}}</div>