How to use JavaScript to achieve on-screen comment effect
Today, the editor will share with you the relevant knowledge points about how to use JavaScript to achieve on-screen comment effect. The content is detailed and the logic is clear. I believe most people still know too much about this, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
Take a look at the effect:
As can be seen from the figure, our dull html structure is indeed very simple.
It is composed of a div, an input box and a button.