Hacker News new | ask | show | jobs
Simplest possible examples of HTML, CSS and JavaScript
1 points by samdutton 4996 days ago
http://www.simpl.info

Simplest possible code examples: nothing more, nothing less.

AppCache, canvas, getUserMedia, WebRTC, FileSystem, Page Visibility, WebSQL, track, datalist, Web Fonts -- and lots more.

1 comments

I like the concept but IMHO the implementation falls short of the "simplest" adjective. For example, I look at source for webworkers [1], and then I have to look at files [2] and [3]. Is there any reason to not have everything in a single file? Again, we are going for "simple" not "good modularity". When I write out a simple example or test in C or Java, it's in a single file, so that the reader can follow the flow.

[1] https://github.com/samdutton/simpl/blob/master/webworkers/in... [2] https://github.com/samdutton/simpl/blob/master/webworkers/js... [3] https://github.com/samdutton/simpl/blob/master/webworkers/js...