A website can store data on a user’s device using various storage APIs: localStorage, IndexedDB, File System, etc.