mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-28 04:45:36 -04:00
not doing any more
This commit is contained in:
parent
5ab9f0b2c2
commit
b11e7978d0
10 changed files with 49 additions and 23 deletions
|
@ -34,8 +34,7 @@ const passwordValid = () => {
|
|||
|
||||
const passwordValidityCheck = (password) => {
|
||||
if (!/\d/.test(password)) return false;
|
||||
if (!/[\!@#%\^&\*\(\)\_\+\-=\[\]{}\|;':",\.\/\<\>\~\`]/.test(password))
|
||||
return false;
|
||||
if (!/[!@#%^&*()_+\-=[\]{}|;':",./<>~`]/.test(password)) return false;
|
||||
if (password.length < 8) return false;
|
||||
|
||||
return true;
|
||||
|
|
10
file-uploader/public/js/script.js
Normal file
10
file-uploader/public/js/script.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
function directoryButton() {
|
||||
const btn = document.querySelector('.new-directory>form>.container>button');
|
||||
const formItem = document.querySelector(
|
||||
'.new-directory>form>.container>div.form-item',
|
||||
);
|
||||
console.log(btn);
|
||||
// formItem.style.display = 'none';
|
||||
}
|
||||
|
||||
directoryButton();
|
Loading…
Add table
Add a link
Reference in a new issue