Thank you for your reply. Sorry, I should have included the rest of the code. I am grabbing the h3textItems element from the HTML already.
This is working, but it doesn't remove the previous content in the h3textItems div.
It is appearing as:
Is there a...
Hi, I am new to JS from Python. I am trying to create a To Do List in JS, and I am trying to loop over an array that contains the added items. I want each item in the array to appear on a new line in the web app. The best I can get is for the items to be displayed like this