Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
This challenge to allowed me to explore the Date
method in Javascript. I discovered that if I provide the following expression as a parameter: new Date(2024, 3, 0)
, the zero value for the day returns the last day of the specified month, even in the case of leap years 😊
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord