完成登入與註冊頁面的前端

2022-07-24 06:21:12 字數 561 閱讀 2270

完成登入與註冊頁面的html+css+js,其中的輸入項檢查包括:

使用者名稱6-12位

首字母不能是數字

只能包含字母和數字

密碼6-12位

註冊頁兩次密碼是否一致

賬號:密碼:

登入取消

h3

.outbox

#input_box

#error_box

body

function mylogin()  else if((ouname.value.charcodeat(0)>=48) && ouname.value.charcodeat(0)<=57)else for(var i=0; i57)&&(ouname.value.charcodeat(i)<97 || ouname.value.charcodeat(i)>122 ))

}if(upass.value.length>12 || upass.value.length<6)

window.alert("已成功登陸")

}

完成登入與註冊頁面的前端

完成登入與註冊頁面的html css js,其中的輸入項檢查包括 使用者名稱6 12位 首字母不能是數字 只能包含字母和數字 密碼6 12位 註冊頁兩次密碼是否一致 登陸doctype html html lang en head meta charset utf 8 title title tit...

完成登入與註冊頁面的前端

完成登入與註冊頁面的html css js,其中的輸入項檢查包括 使用者名稱6 12位 首字母不能是數字 只能包含字母和數字 密碼6 12位 註冊頁兩次密碼是否一致 登入 html 1 doctype html 2 html lang en 3 head 4 meta charset utf 8 5...

完成登入與註冊頁面的前端

完成登入與註冊頁面的html css js,其中的輸入項檢查包括 使用者名稱6 12位 首字母不能是數字 只能包含字母和數字 密碼6 12位 註冊頁兩次密碼是否一致 en demo www class box header style background color aquamarine cont...