function storeScore(){

    let obj = {
        "name": initials.value,
        "score": timerCount
    }
    highscores.push(obj);
    localStorage.setItem("highscores", JSON.stringify(highscores));


    entry.style.display = "none";
    label.style.display = "none";
    initials.style.display = "none";
}
// stores your score(based on time left) and initials. then sends you to the highscore page
stores your score(based on time left) and initials. then sends you to the highscore page
stores your score ( based on time left ) and initials . then sends you to the highscore page
function storeScore(){
    let obj = {
        "name": initials.value,
        "score": timerCount
    }
    highscores.push(obj);
    localStorage.setItem("highscores", JSON.stringify(highscores));
    entry.style.display = "none";
    label.style.display = "none";
    initials.style.display = "none";
}
function storeScore ( ) { let obj = { "name" : initials . value , "score" : timerCount } highscores . push ( obj ) ; localStorage . setItem ( "highscores" , JSON . stringify ( highscores ) ) ; entry . style . display = "none" ; label . style . display = "none" ; initials . style . display = "none" ; }
stores your score(based on time left) and initials.
stores your score ( based on time left ) and initials .