You-Dont-Need-JavaScript
You-Dont-Need-JavaScript copied to clipboard
Provide demos that do not require Javascript
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.
The demos should be made accessible through the github page of this project using plan HTML and CSS
For the demos which have SCSS, should the HTML files have the compiled CSS or SCSS as is?
The HTML needs the compiled css to work. Maybe the scss code can be included in the example files as css comments for reference.
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
We can add a comment based on @jreese802 's suggestion. PR welcome.
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.
Please assign me this issue