Calender in Javascript

what will be the exact logic for the calender widget in JavaScript When a date is clicked show a dialogue with current date and welcome message? I have been trying this but didn’t get my desired output…

https://codepen.io/naimiii/pen/mdOrBmO

2 posts were merged into an existing topic: Calender Widget in JavaScript

Please do not create duplicate topics for the same challenge/project question(s). This duplicate topic has been unlisted.

Thank you.