You-Dont-Need-JavaScript icon indicating copy to clipboard operation
You-Dont-Need-JavaScript copied to clipboard

Provide demos that do not require Javascript

Open progval opened this issue 7 years ago • 7 comments

As of now, most links target codepen.io, which is only available if the browser has Javascript support.

Links to static pages with only HTML and CSS would fix this issue.

progval avatar Jul 08 '16 17:07 progval

The demos should be made accessible through the github page of this project using plan HTML and CSS

gilmrjc avatar Jul 08 '16 18:07 gilmrjc

For the demos which have SCSS, should the HTML files have the compiled CSS or SCSS as is?

ShaishavGandhi avatar Jul 13 '16 15:07 ShaishavGandhi

The HTML needs the compiled css to work. Maybe the scss code can be included in the example files as css comments for reference.

gilmrjc avatar Jul 13 '16 19:07 gilmrjc

If you change the codepen URL from the /pen/ view to the /live/ view, you will be able to view the examples with Javascript disabled.

Take a look at the carousel example here:

http://codepen.io/SitePoint/live/MyPVdK

jreese802 avatar Jul 19 '16 17:07 jreese802

We can add a comment based on @jreese802 's suggestion. PR welcome.

stevemao avatar Sep 02 '16 05:09 stevemao

Please host the demos on github, e.g. using a gh-pages branch, so they can easily be forked, improved and PR'd.

Edit 2023-10-14: Nowadays, GitHub allows using the master branch as source for GitHub pages (optionally its "docs" subdirectory), so we should do that rather than a gh-pages branch.

mk-pmb avatar Nov 09 '16 11:11 mk-pmb

Please assign me this issue

Kedarnath-Rothe avatar Oct 13 '23 10:10 Kedarnath-Rothe