Password Validation🔥100 Days of JavaScript Coding Challenges || Day #31

preview_player
Показать описание
Welcome, on a 100-day JavaScript journey with me! Join me as I tackle a new coding challenge every day, exclusively using JavaScript. Let's level up our skills together, one problem at a time.

-------------------------------------------------------
📢 Checkout our world best JavaScript Course Part 1 & 2 👇

--------------------------------------------------------
Before Learning JavaScript, Don't forget to watch 👇

-----------------------------------------------------
✌️ Become Member, get access to perks, free Source code, & more..

-----------------------------------------------------

⌚ TIMELINE ⌚
0:00 Introduction to JavaScript in 100 days
0:32 Understanding the questions
1:50 Pause the video and try it yourself
2:30 Dive deeper into Day 17 for an in-depth explanation
3:40 Solving the problem together
13:42 Conclusion and outro
Рекомендации по теме
Комментарии
Автор

Its a request bro please Teach us DSA using JS. Very required this series please plan & think about this once.

muskanjaiswal
Автор

JavaScript Challenge 100/31 days is Completed ✅👍

BhagatBhutale..
Автор

const simplePasswordValidator = (password) => {
if (password.length >= 8) {
if (
password.match(/[a-z]/) &&
password.match(/[A-Z]/) &&
password.match(/[0-9]/)
) {
return true;
}
}

return false;
};

MukeshKumar-etbo
Автор

const simplePasswordValidator = (password) => {
if(password.length>=8){
if(password.match(/\d/g) && password.match(/[a-z]/g) && password.match(/[A-Z]/g))
return true
return false
}
return false
}

SurajKumar-knko
Автор

this is the code of my first time solving this question
const simplePasswordValidator = (password) => {
const smc = "abcdefghijklmnopqrstuvwxyz";
const bgc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
const sarr = smc.split("");
const barr = bgc.split("");
let result = false;
if (password.length >= 8) {
for (let i = 0; i < sarr.length; i++) {
if (password.includes(sarr[i]) && password.includes(barr[i])) {
for (let i = 0; i < 11; i++) {
if (password.includes(i)) {
result=true
}
}
}
}
console.log(result)
} else console.log(result);
};


kuldeepsinghrathore
Автор

// using regular expression
function
let usercheck = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8, }$/;
return usercheck.test(password)
}

ankanroy
Автор

Waiting for React Js series... Please don't make 2-3 hours long video course... It must be a Series

AmanKumarSinhaOfficial
join shbcf.ru