What a neat idea! I love the simple things that can be done using strictly HTML, CSS, and JS.
I did notice a bug though. Every time you click the “Display text” button it appends your text to the document. Either you should disable the button (until the textarea changes) or the button should always replace whatever is in “myDiv”.
What a neat idea! I love the simple things that can be done using strictly HTML, CSS, and JS.
I did notice a bug though. Every time you click the “Display text” button it appends your text to the document. Either you should disable the button (until the textarea changes) or the button should always replace whatever is in “myDiv”.
Thanks! Ahh that's true, I didn't think about that! Thanks for letting me know!