3 ms·
Slightly related - a website that displays it's own source code: https://no-gravity.github.io/html-quine/index.html https://no-gravity.github.io/html-quine/ind
by mg 7y ago
Slightly related - a website that displays it's own source code:
https://no-gravity.github.io/html-quine/index.html https://no-gravity.github.io/html-quine/index.html
- LeonB 7y ago....inspired by https://github.com/secretGeek/html_wysiwyg https://github.com/secretGeek/html_wysiwyg -- thanks!
- soulofmischief 7y agoNice. Here's another: https://secretgeek.github.io/html_wysiwyg/html.html https://secretgeek.github.io/html_wysiwyg/html.html
- fragmede 7y agoFor the curious, this is called a quine, and it's a fun challenge in every language, to write on. http://www.madore.org/~david/computers/quine.html http://www.madore.org/~david/computers/quine.html
- malydok 7y agoThe trick here I didn't know about is that a `<style>` element's default `display` is `none` and you can show its contents by changing that.