Share the code
var day=new Date().getDay(); switch (day) { case 6: x="Today it's Saturday" ; break; case 0: x="Today it's Sunday" ; break; default : x="Looking forward to the Weekend" ; }
No comments:
Post a Comment