The challenge is to create the functionality using only html and css
- No serverside rendering that serves a css file on friday
- No special CDN setup
- No image loading that serves another image on friday
Just html and css
R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
1–6 of 6 posts
Re: R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
#2Does 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
Re: R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
#3"Friday" according to whom/where?
Re: R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
#4Re: R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
#5Could they not solve it because it’s impossible?
Re: R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
#6Seems like asking someone to draw a red line on a white piece of paper with just a black sharpie marker.