client/main.js
// Hides the lobby name page and unhides the page for entering the user name
Hides the lobby name page and unhides the page for entering the user name
Hides the lobby name page and unhides the page for entering the user name
function createUserName() {
    console.log("Hide lobbynamepage and reveal page to create user name.")
    lobbyName = lobbyNameInput.value
    lobbynamepage.setAttribute("hidden", true)
    usernamepagecreate.removeAttribute("hidden")
}
function createUserName ( ) { console . log ( "Hide lobbynamepage and reveal page to create user name." ) lobbyName = lobbyNameInput . value lobbynamepage . setAttribute ( "hidden" , true ) usernamepagecreate . removeAttribute ( "hidden" ) }
Hides the lobby name page and unhides the page for entering the user name
Hides the lobby name page and unhides the page for entering the user name