Calendar next / previous links not working

Hello guys.
I am trying to write code for my calendar next and previous buttons. But after a lot of tries I still can’t figure it out. Any ideas? Thanks in advance.
Below is the link of calendar:
https://hovhannesmkoyan.github.io/Calendar/
And here is the github page, where you can find the code:

Your buttons work fine for me, are you still having that issue?

Actually I wanted that the calendar body (the part where days are showed) was changed when the next and prev buttons are changed. And I wrote the code for that, so everything is okay now, thanks anyway.

1 Like