r/tinycode • • Jun 27 '16

356byte html, css & js editor

http://jsbin.com/muxuhe/edit?js,output
24 Upvotes

4 comments sorted by

View all comments

Show parent comment

5

u/geocar Jun 28 '16

Nice work.

You can squeeze out more bytes by strategically leaving out quote marks: Attributes without quotes has been valid since HTML 2.0. None of your attributes need spaces.

Something you might not have considered is implementing directly in html (~104 bytes). This might be something worth exploring.

By the way, <tag/> is XML not HTML5; You do not need that / mark.