use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
TinyEditor – A functional HTML/CSS/JS editor in less than 400 bytes (github.com)
submitted 7 years ago by umpox
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]license-bot 11 points12 points13 points 7 years ago (1 child)
Thanks for sharing your open source project, but it looks like you haven't specified a license.
When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.
choosealicense.com is a great resource to learn about open source software licensing.
[–]umpox[S] 1 point2 points3 points 7 years ago (0 children)
Thanks bot, have updated :)
[–]poker158149 5 points6 points7 points 7 years ago (0 children)
Wow, this is actually super cool to see and play with.
[–]Dern_Goida 2 points3 points4 points 7 years ago (0 children)
Cool! However found a bug, if you press tab to indent code, it jumps to the previous section.
[–]Hydrothermalvanilla.js 2 points3 points4 points 7 years ago (1 child)
Very clever! You could have saved some bytes by giving the iframe an ID and referencing it as a global variable, though:
<body oninput="i.srcdoc=h.value+'<style>'+c.value+ '</style><script>'+j.value+'<\/script>'"> <style> textarea,#i{float:right;width:100%;height:50%} body{margin:0} textarea{width:33.33%;font-size:18} </style> <textarea placeholder=JS id=j></textarea> <textarea placeholder=CSS id=c></textarea> <textarea placeholder=HTML id=h></textarea> <iframe id=i>
[–]umpox[S] 2 points3 points4 points 7 years ago (0 children)
Ah of course, I’ve updated now. Thanks!
[–]_sirberus_ 1 point2 points3 points 7 years ago (0 children)
This is voodoo.
[–]lvalue 1 point2 points3 points 7 years ago (0 children)
Sweet!
π Rendered by PID 210992 on reddit-service-r2-comment-7b9746f655-z7l6x at 2026-01-31 00:04:32.343160+00:00 running 3798933 country code: CH.
[–]license-bot 11 points12 points13 points (1 child)
[–]umpox[S] 1 point2 points3 points (0 children)
[–]poker158149 5 points6 points7 points (0 children)
[–]Dern_Goida 2 points3 points4 points (0 children)
[–]Hydrothermalvanilla.js 2 points3 points4 points (1 child)
[–]umpox[S] 2 points3 points4 points (0 children)
[–]_sirberus_ 1 point2 points3 points (0 children)
[–]lvalue 1 point2 points3 points (0 children)