Math 3 check please

Please see the link. Is it too basic? Feedback appreciated.
Thanks!

Hello @daytona

you doing great well done and have a nice day :slight_smile:

Thank you, so its correct? :slight_smile:

you welcome and yes :slight_smile:

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 :wave:

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. :slightly_smiling_face:

Have a nice day,
Michael

1 Like

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! @

2 Likes

I’m glad I could help. :slightly_smiling_face:

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.

1 Like

You sir are a hero. 🫡

2 Likes

hi @mikoMK Hero :man_superhero: :joy:

1 Like