Angular 2 Building Blocks Hacker rank Hands-On Solutions Directive

 import { Component } from '@angular/core';


@Component({

  selector: 'app-root',

  templateUrl: './app.component.html',

})

export class AppComponent {


constructor(){

this.selectedDay=0

}  

 show:boolean;

 message:string;

 selectedDay:number

 selectedValue:string

 days=[

  { 'today':'Monday','msg':'Marvelous Mondays!'},

   { 'today':'Tuesday','msg':'Thrilling Tuesdays!'},

    { 'today':'Wednesday','msg':'Wonderful Wednesdays!'},

     { 'today':'Thursday','msg':'Trendy Thursdays!'},

      { 'today':'Friday','msg':'Fantastic Fridays!'},

       { 'today':'Saturday','msg':'Super Saturdays!'},

        { 'today':'Sunday','msg':'Sunny Sundays!'}

 ]

  //Define your variables show,message,selectedDay,selectedValue,days

  //Define your constructor here with selectedDay as 0

    


}


Comments

  1. i found this hands here only , thanks

    ReplyDelete
  2. please do Mini project for .net developer coding hands on , exam fountains are installed etc

    ReplyDelete

Post a Comment