I am a coding beginner and I need help deciding on the way I will store data for the website I am building. I have a section on my website where I will be listing items. Each item will have several properties. I was thinking between javascript objects or storing the item and the item's properties in a database. What is better between these two or are there other options that is better.
I would prefer if it was simple and be able to change order since I want to make like a sorting function.