I want to set a highscore with localstorage in my tetris game that I put in my website. I want that you can set a username and show it with the amount of score.
Can anyone help me please?
localStorage.setItem("username1", 1);
//name , // score value