Live data from Hacker News

R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript

news.ycombinator.com

1–6 of 6 posts

Re: R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript

#2
Does it need to automatically render whether today is Friday... something like this is silly but kinda works -- requires you to set the date though which I'm not sure is allowed.

// valid for all Fridays starting 1AD

Then you can use some css when invalid: input:invalid { background: red; }

or whatever other styling you want, maybe slap some content on another element... you get the point