What is the best way to store and manage data on a live site page?

  • 0
    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.
    But how to make it possible to remove the desired positions from this list? For example, I changed my mind that I need to buy such and such a product and somehow I want to delete it
    JavaScript Anonymous, Jan 14, 2020

  • 2 Answers
  • 0
    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 clarify

  • 0
    Seth Diaz

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!