r/AskProgramming • • 1d ago

Javascript [ Removed by moderator ]

[removed] — view removed post

0 Upvotes

21 comments sorted by

View all comments

Show parent comment

-2

u/r2idw 1d ago

Ofc Im running the script in a web page, its my own project where I developing my code skills using this project, I just wanna see I get it done, cuz ive spending up 6 days trying to figure out how to solve that problem lol I ended up posting this post instead of ask ai for a help

5

u/ALargeRubberDuck 1d ago

In that case look into storing data in localstorage. It should allow you to save the data without a backend call.

3

u/buzzon 1d ago

Make variable 1 and put today's date into it. 

Make variable 2 and put today's date plus 7 days into it. This is the date where the calendar must be refreshed.