Building on my knowledge of JS to create a functional calendar