Although there are similar threads regarding this issue, I am more concerned about a specific problem and displaying it as a text and not as an alert
So far, I have learned an adequate portion of HTML (I'm still a newbie though). The main reason behind this is because I am publishing a website for my classroom in my school and am constantly looking for ways to add new elements.
My 'Homework' Page has one piece of Homework that we get every week on the same day. Instead of me having to rewrite the due day for the Homework, I want to find a way that will change the date using JavaScript.This is how it looks like currently on my website but I have to manually change it every week.
The date (for example) will have "Monday, 12th of March, 2018" or a similar variation. The coding aspect goes: if we reach the above date in real time, the date is to change to the same day however in the next week. Then the date will say "Monday, 19th of March, 2018" or a similar variation. Is there anyway to achieve this?
Thanking in advance,
Sincerely,
Shafquat T.