It is translated as normal text in the HTML file. Now to make the textarea autogrow, you must hide the scrollbar and adjust the height of the textarea to the height of the contents in it. If you're after auto resizing textareas in Vanilla JavaScript, check out this article. The height of the textarea is first set to ‘auto’ and then immediately on the next line, the height is again set equal to that of the scrollHeight. Safari automatically moves the text up so the line you are writing stays visible. The CSS. The