Hi, this is my first post on MDN, I have read through the articles of JavaScript Building Blocks and trying to apply the learnings. I am making a code that would allow the user to select a date of Departure and date of Return using a calendar. The code has succeeded in displaying the calendar but failed to show the alert if the user has inputted the right date of departure. I am trying to put together the concepts of Variables, Events, Functions and Conditionals. I hope to hear from the community how to get this done. Below is the code. Thank you!
Date of Departure
Date of Return