3 ms·
R/webdev could not solve this challenge: A “Is it Friday” website, no JavaScript
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
- valbaca 3y ago"Friday" according to whom/where?
- treeface9000 3y agoDoes 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. <input type="date" min="0001-01-05" step="7" value="2023-07-03"> // 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
- fargle 3y agohttps://old.reddit.com/r/webdev/comments/14n6eio/challenge_create_a_is_it_friday_website_with_no_js/ https://old.reddit.com/r/webdev/comments/14n6eio/challenge_c...
- schemescape 3y agoCould they not solve it because it’s impossible?
- elbrian 3y agoSeems like asking someone to draw a red line on a white piece of paper with just a black sharpie marker.