function initialsAdd () {
    document.querySelector(".initialList").innerHTML= "Your Highscore";

    var list = document.createElement("li"); //resource for createElement t.ly/g7NM 
    list.setAttribute("style", "background-color: rgb(91, 39, 139); width: 300px; border-radius:10px; opacity: 80%; font-weight: bold; color: white ");
    document.querySelector(".initialList").append(list);
    var listValue = document.querySelector("input[type=text]").value;//submitted initials
    list.append(listValue);

    var timeValue = document.querySelector("#count");
    list.append("  ---- ",timeValue);
}
// Function to append initials to scoresList (explanation t.ly/18gK)
Function to append initials to scoresList (explanation t.ly/18gK)
Function to append initials to scoresList ( explanation t . ly / 18gK )
function initialsAdd () {
    document.querySelector(".initialList").innerHTML= "Your Highscore";
    var list = document.createElement("li"); 
    list.setAttribute("style", "background-color: rgb(91, 39, 139); width: 300px; border-radius:10px; opacity: 80%; font-weight: bold; color: white ");
    document.querySelector(".initialList").append(list);
    var listValue = document.querySelector("input[type=text]").value;
    list.append(listValue);
    var timeValue = document.querySelector("#count");
    list.append("  ---- ",timeValue);
}
function initialsAdd ( ) { document . querySelector ( ".initialList" ) . innerHTML = "Your Highscore" ; var list = document . createElement ( "li" ) ; list . setAttribute ( "style" , "background-color: rgb(91, 39, 139); width: 300px; border-radius:10px; opacity: 80%; font-weight: bold; color: white " ) ; document . querySelector ( ".initialList" ) . append ( list ) ; var listValue = document . querySelector ( "input[type=text]" ) . value ; list . append ( listValue ) ; var timeValue = document . querySelector ( "#count" ) ; list . append ( "  ---- " , timeValue ) ; }
Function to append initials to scoresList (explanation t.ly/18gK)
Function to append initials to scoresList ( explanation t . ly / 18gK )
//resource for createElement t.ly/g7NM  //submitted initials