Hi @abhi1, welcome to the forum!
If we do not connect them to a database, all of those changes will be gone when we refresh the page. We could also try and save them client-side using localhost, but other users won't see the changes you make.
Here are a couple of topics to help you achieve saving them on a table.