I’m building an app with many html pages containing different info.
Each page needs different media files loaded inside and each of them can be navigated using a search bar implemented as a part of menu.
I realized this configuration is not be the best and am trying to downsize the number of pages into only one and build a local database to load data to divs on my page.
How do you guys configure this kind of set up?
and how can I make search result load data and lots of media files properly to many different divs?
Especially, how can I make specific functions loaded from a database?
So, with a single click on search database, the whole content of HTML page should change.
I would appreciate any example ts files or relevant tutorials.