Skip to content

Commit c44eba9

Browse files
committed
fix style, template typos
1 parent 8c457a3 commit c44eba9

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

projects/02-displaying-dynamic-data/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component } from '@angular/core';
77
<article class="offer">
88
<h1>
99
<span>Bonus Offer</span>
10-
<span>$<!-- ITEM PRICE --></span>
10+
<span>&dollar;<!-- ITEM PRICE --></span>
1111
</h1>
1212
<img src="/assets/noun-product-6277512.png" width="400" />
1313
<p><!-- ITEM NAME--></p>

projects/05-control-flow-for/src/app/app.component.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ hr {
3333
.container {
3434
display: flex;
3535
flex-direction: row;
36+
flex-wrap: wrap;
37+
justify-content: space-around;
3638
padding: 20px;
3739
}
3840
.title {

projects/05-control-flow-for/src/app/app.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,31 @@ export class AppComponent {
4343
miles: 54354,
4444
price: 1000,
4545
year: 2022,
46+
transmission: 'Automatic',
4647
},
4748
{
4849
make: 'Ronda',
4950
model: 'Disaccord',
5051
miles: 100000,
5152
price: 230,
5253
year: 1991,
54+
transmission: 'Automatic',
5355
},
5456
{
5557
make: 'Specific Motors',
5658
model: 'Spoke',
5759
miles: 100000,
5860
price: 230,
5961
year: 1991,
62+
transmission: 'Automatic',
6063
},
6164
{
6265
make: 'Fjord',
6366
model: 'Pocus',
6467
miles: 1,
6568
price: 22330,
6669
year: 2023,
70+
transmission: 'Automatic',
6771
},
6872
];
6973
}

0 commit comments

Comments
 (0)