Slip 5-SPA
Using angular 13 create a SPA to carry out validation for a username entered in a textbox. If the textbox is blank, alert “Enter username”. If the number of characters is less than three, alert ‟ Username is too short”. If value entered is appropriate the print “Valid username” and password should be minimum 8 characters. app.component.ts import { Component } from '@angular/core' ; @ Component ({ selector: 'app-root' , templateUrl: './app.component.html' }) export class AppComponent { username : string = '' ; password : string = '' ; message : string = '' ; validateForm () { if ( this . username . trim () === '' ) { alert ( "Enter username" ); return ; } if ( this . username . length < 3 ) { alert ( "Username is too short" ); return ; } if ( this . password . len...