3 ms·
> Zero JavaScript needed As someone who has JS disabled by default I was happy to see this and excited to see what 'sausage links' look like, but when I went t
by autoexec 5y ago
> Zero JavaScript needed
As someone who has JS disabled by default I was happy to see this and excited to see what 'sausage links' look like, but when I went to the link I was hit with a giant "CodePen requires JavaScript to render the code and preview areas in this view."
Since this person has a website (this isn't a tweet or something) and feels it's "Pretty simple, eh?" to implement such a menu, _and_ already wrote up some sample code, why not have the example on the page itself? At least I have the code so I can copy/paste and throw it back in the browser, but the author came soooo close to making that unnecessary I can't help but wonder what happened or what their thought process was.
- bo1024 5y agoI also was frustrated that CodePen seemed to need to set a cookie before it would function.
- pygy_ 5y agoYeah, for that use case, https://bl.ocks.org https://bl.ocks.org is better than CodePen. Publish a GitHub gist, replace gist.github.com with bl.ocks.org, and sneak in "/raw" between the username and the gist id. You can even point to specific commit hashes.
- phist_mcgee 5y agoWhat's wrong with having a globally shareable codepen? They run absolutely everywhere, can be updated and versioned, and executed right on the web page? I am not sure what your complaint is beyond "I don't like javascript on most websites".
- autoexec 5y agoHow is CodePen any more "globally shareable" than a website hosted on tdarb.org? HTML and CSS run a lot closer to "absolutely everywhere" than CodePen does since javascript is an additional (and in this case wholly unnecessary) requirement. "Zero JavaScript needed" isn't just my personal preference, it's explicitly stated as being desirable by the author. I fully expect to be That One Weird Guy who doesn't like running random code on his system from untrusted remote sources, but here the author states _himself_ that not needing javascript is preferable, so it's just a very weird choice that he decided to have the only live example be in the form a link to a third party site that requires javascript, especially after he went through the trouble of writing up a simple demo on his website but only as source when he could have also used that same code to provide a live demo of the thing being discussed. If I'm going to write a whole webpage about something, it just seems natural to display the thing being discussed on that same page when possible. I'm not even really complaining exactly, I'm just confused as to how someone managed to line up all of those dots, but never take that last step to connect them.