What is the best way to store and manage data on a live site page?
Let's imagine a typical shopping list:
There is a field to enter what you need to buy and an "Add" button.
In parallel, this shopping list is maintained in another part of the page.
In theory. The list can be assigned as an ordinary object and when you click the button, add data from the input field to the content of this block from a new line.
Read about the principles on which spa applications are built, for example, angular or react.
You can do some angular starter tutorial, for example , this should be enough to clarifyAnonymous
To place the code, please use CodePen or similar tool. Thanks you!