4 ms·
I built a quick responsive front-end for this and re-wrote the JavaScript so the order goes: HTML -> CSS -> JavaScript Github: https://github.com/tomhodgins/li
by err4nt 13y ago
I built a quick responsive front-end for this and re-wrote the JavaScript so the order goes: HTML -> CSS -> JavaScript
Github: https://github.com/tomhodgins/liveeditor https://github.com/tomhodgins/liveeditor
Screenshot: http://i.imgur.com/SuXoXHb.png http://i.imgur.com/SuXoXHb.png
Demo: http://staticresource.com/editor http://staticresource.com/editor
- xem 13y agoThanks for this hommage :D This user interface is very nice, bravo! In your JS, you can replace html["value"], css["value"] and js["value"] with html.value, css.value and js.value
- err4nt 13y agoThanks :) I write a ton of CSS every day but I'm still learning JavaScript. Expanding this helped me understand a few things already, I'll go update that right now!
- thekingshorses 13y agoYou shouldn't use jQuery, inline CSS and inline JS right before closing </body> tag.
- gavinpc 13y agoI get the CSS, but why the others?
- thekingshorses 13y agoWhy do you want to include a huge library if only use is to check if page is ready? Extra HTTP request has more overhead then few inline bytes. if you put that code at bottom, you won't need jQuery to know if page is ready, and won't need extra HTTP request.
- shaunrussell 13y agomade a quick pull request to save you 83kb, silly to include jQuery just for document.ready.