Please see the link. Is it too basic? Feedback appreciated.
Thanks!
Hello @daytona
you doing great well done and have a nice day
Thank you, so its correct?
you welcome and yes
Pardon me for the probably stupid quesiton. I ended up with the same solution but are the passwords supposed to match since they have different upper and lower case letters? I seem to be getting only "true’ and I’m not sure if I’m supposed to.
Hi @NNick and welcome to the community
No, they shouldn’t match because JavaScript is case-sensitive. This means uppercase and lowercase are different.
const pwd1 = 'stromboli';
const pwd2 = 'stROmBoLi';
pwdMatch = pwd1 === pwd2;
console.log(pwdMatch); /* false */
If you get the “true” as the result there’s something wrong. You could post your solution in a new topic and we will have a look if you like.
Have a nice day,
Michael
Ahh thank you very much. I believe I just had just made a small typo. Works well now. Thank you very much for taking the time to explain Michael! @
I’m glad I could help.
By the way: Your email address is visible in your posts. I think it somehow ended up in the optional “name” field of your profile. I recommend removing it.
You sir are a hero. 🫡
hi @mikoMK Hero