Storing wordle user gameplay

I am building a simple quiz game in JS/CSS. Curious about how wordle stores the streak statistics. Is it in the cookies?
Also, I want users to be able to access previous games and also their attempts. Is it possible to do it without having them create an account?