DEV Community

Discussion on: Create a black-out poetry maker with javascript

Collapse
 
kylesureline profile image
Kyle Scheuerlein

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”.

Collapse
 
ivavay profile image
Ivy Chen

Thanks! Ahh that's true, I didn't think about that! Thanks for letting me know!