The data attributes in the code example above tell Remake:

Which HTML elements contain data. Which data the user can edit. Which elements users can drag to move. How to structure the data as it's saved.

...and Remake takes care of the rest, turning this HTML template into a full-stack web app with persistent data and user accounts.