You can find
npm install --save realm-web and login information on the Realm SDKs panel, which will give you the impression that the code snippet in Data Models will also work. I spend 3h before i read
The Web SDK does not support Realm Database or sync
Please can you add some additional information to Data Models panel?