How to make backend of a web app on Android?

I do not have a laptop or desktop .So, I code only on mobile and made a tic-tac-toe game using html,css and javascript and now I want that whenever I open that game it asks me who am I and give me option to select the user ,which have played before or create a new user and so that how many times .I have won , lost or tied.So, I need a database but as mentioned above I cannot use libraries or mySQL or other databases because they cannot be installed on mobile.I currently just want a simple database or even a way to create a database on mobile.Please tell me what to do.If with answer a post of code that can store a username or anything to help me understand will be appreciated.

I tried using php and SQLite and localstorage but the localstorage did not work and I am not able to understand SQLite.