JSFiddle - React, Tailwind, and code Playground

by Tim Morgan

JavaScript

var date = new Date();

function checkdate(){
    if (date.getDate() == && date.getMonth() == 4 {console.log('whoo!'); }} else {console.log('nope');}

function User(name, birthday){this.name = name; this.birthday = new Date(birthday); }

function getMonthName(mo) {
    mo = mo -1; // adjust month number for array)