I've been attempting to place an h1 next to a mat-form-field from Angular Material, but I'm encountering some difficulties.
Here's what I've attempted so far:
<div class="mat-elevation-z8">
<mat-form-field>
<mat-label>Select an option</mat-label>
<mat-select [(value)]="selected" (selectionChange)="greet($event)">
<mat-option value="none">None</mat-option>
<mat-option value="lime">Lime</mat-option>
<mat-option value="red">Red</mat-option>
<mat-option value="yellow">Yellow</mat-option>
</mat-select>
</mat-form-field>
<h1>{{products.length}} Phone Numbers</h1>
...
</div>
https://i.sstatic.net/tmTgO.png
Could someone please point out where I might be going wrong?
I haven't made any changes to the CSS yet, so I believe it's an HTML issue.
Thank you in advance for any assistance!