Hacker News new | ask | show | jobs
by gfat 1247 days ago
> None of the examples in the article work with js disabled.

Some because of Codepen.io embeds? The ghost and pricing tables should work on their own.

1 comments

Codepen is certainly part of it. Lots of boxes with nothing inside but centered text saying things like "See the Pen Spooky Boo! by Will Boyd (@lonekorean) on CodePen."

Nothing on that page animates for me, although I'm sure that's my fault. CSS should work, but I've got a whole lot more than just JS disabled in this browser too. For what it's worth I tried to search the page for the words "ghost" "table" and "price" and couldn't find any mention.

Not sure what sort of person downvoted you. I, too, have an issue with a page about CSS tricks requiring JS.

I may write JS for a living but I do browse the internet without it

Edit: someone downvoted you again as I was writing this, heh. Is this even a healthy thing to do on a Saturday morning

Probably because: "i did something unspecified and now it doesn't work" is kind of an annoying comment. More to the point, nobody promised that the page doesn't use javascript, just that the techniques presented do not need js in principle.
It's just weird to me how often people who have their own websites and are perfectly capable of self-hosting demos of things that don't require javascript make the decision to instead use a website to showcase them that requires JS to work or be visible at all.

I fully understand my configuration is unusual. I don't think it's unusual to expect that a certain number of people who don't use JS would be interested in a site that offers cool CSS tricks that don't require it, so it's strange to see those same people being unnecessarily excluded. To the writer's credit they have some source available in their article at least.