I am currently working on a fitness application and am aiming for a user of the site to click a button and they will be returned a workout which is recommended on the day of the week it is. For example if its a Monday and the user presses the button it should return a plan for Monday, what JS methods would be suitable for this?
I think I'm going to have to use getDate and if loops but I'm not sure, still relatively new to javascript and exploring the ways to do things so I am open to various ways to accomplish this