The else-if construct in Angular
Angular also has the @else-if construct:
@if (isAdmin) {
<div>
admin
</div>
} @else if (isUser) {
<div>
user
</div>
} @else {
<div>
guest
</div>
}
Let the property day contain some number from the interval from 1 to 31. Determine which decade of the month this number falls in (the first, second, or third).