diff --git a/html/bootstrap-5.3.3-dist/js/usernameValidation.js b/html/bootstrap-5.3.3-dist/js/usernameValidation.js deleted file mode 100644 index c23f8d0..0000000 --- a/html/bootstrap-5.3.3-dist/js/usernameValidation.js +++ /dev/null @@ -1,19 +0,0 @@ -// buttonclicked() is called when the username is submitted -// for reference, check anchor tag above the form tag in html -// should check if input is empty -// if true, make object into JSON string and change pages -// if false, notify user -//function buttonclicked(){ - // let username = document.forms["userForm"]["fname"].value; - //const user = { - // username : username - //} - //if(username != ""){ - // localStorage.setItem("userJSON", JSON.stringify(user)) //JSON string is saved into local storage so that match.html can access - //window.location.href = "match.html"; - //} - //else{ - // document.forms["userForm"]["fname"].value = ""; - //document.forms["userForm"]["fname"].placeholder = "ENTER A USERNAME!"; - //} -//} \ No newline at end of file diff --git a/html/index.html b/html/index.html index b3e28ee..efe8d28 100644 --- a/html/index.html +++ b/html/index.html @@ -117,8 +117,8 @@