- Create buttons to perform operations on text in div.
- Create textarea in div using textarea tag.
- Select elements using document.getElementById method.
There are many more functions you can add to this project like changing the font size, counting the number of letters, words inside the text area, changing font style, and many more. Do give that a try.
You can access the source code from Github and see a running example of this project by clicking here.