Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Commit f9ebb73

Browse files
committed
codelab: use semantic html
1 parent 44fe7cd commit f9ebb73

2 files changed

Lines changed: 14 additions & 11 deletions

File tree

src/app/about/about.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
-->
1616
<div class="about">
1717
<!-- TODO: #6. Use Semantic HTML -->
18-
<h3>Who are we?</h3>
19-
<h2>Have you ever thought, “wow, I love dumplings”?</h2>
20-
<h5 class="right">Who hasn't.</h5>
21-
<h6 class="center">We took it one step further and created Dumpling Dumpling,</h6>
22-
<h5 class="center">double the dumpling, double the fun.</h5>
18+
<h2>Who are we?</h2>
19+
<p class="mat-subheading-2">Have you ever thought, “wow, I love dumplings”?</p>
20+
<p class="right mat-subheading-1">Who hasn't.</p>
21+
<p class="center mat-subheading-1">We took it one step further and created Dumpling Dumpling,</p>
22+
<p class="center mat-subheading-1">double the dumpling, double the fun.</p>
2323
<div class="spacer"></div>
24-
<h5>How are we different?</h5>
25-
<h4>Handmade in San Francisco, California, we craft fully customizable dumplings. Glitter? Rainbows? Vegan? We do it all.</h4>
26-
<h3 class="right">This shop is concept only.</h3>
24+
<h2>How are we different?</h2>
25+
<p class="mat-subheading-2">Handmade in San Francisco, California, we craft fully customizable dumplings. Glitter? Rainbows? Vegan? We do it all.</p>
26+
<p class="right mat-subheading-2">This shop is concept only.</p>
2727
</div>

src/app/shop/shop.component.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@
9595
</mat-card>
9696
</div>
9797
<!-- TODO: #6. Use Semantic HTML (& Angular Material!) -->
98-
<div (click)="fauxPurchase()" class="purchase-button">
99-
<h3>Purchase</h3>
100-
</div>
98+
<button mat-flat-button
99+
color="primary"
100+
class="purchase-button"
101+
(click)="fauxPurchase()">
102+
Purchase
103+
</button>
101104
</div>

0 commit comments

Comments
 (0)