3 ms·
Pure HTML+CSS websites are, of course, way easier to code than ones with heavy Javascript (Assuming we're talking about hand-coded websites, and absent other fa
by Wowfunhappy 5y ago
Pure HTML+CSS websites are, of course, way easier to code than ones with heavy Javascript (Assuming we're talking about hand-coded websites, and absent other factors like the developer's personal familiarity.)
But there's also things you can't do without Javascript. For example, if you want a fade-in animation to play when the user scrolls to a certain spot on the page, you'll probably want to calculate the user's scroll position with Javascript. If you don't address the no-JS case specifically, the element will never fade-in for users without Javascript!
- grayhatter 5y ago> had-us-in-the-first-half.gif lol, you got me in the first half there; I was already mentally constructing my reply before I eventually got the sarcasm :D Well played!
- deleted 5y ago[deleted]
- 411111111111111 5y agoYou should be able to do that with pure html/css as well by abusing the newish lazy load feature and probably some SVG! Yay for modern web