The innerText property is used to write the simple text using JavaScript dynamically. Let's see a simple example: