JavaScript Conditional evaluation

See the Pen Condicionales 1 by lTakisl (@ltakisl) on CodePen.

See the Pen Condicionales 2 by lTakisl (@ltakisl) on CodePen.

See the Pen Condicionales 3 by lTakisl (@ltakisl) on CodePen.

See the Pen Condicionales 4 by lTakisl (@ltakisl) on CodePen.

Hello @Takis

you doing great well done

just little modification

pwdResult= pwd === 'cheese'? 'Your login was successful':'Your login was not successful'

the ternary Operator return output of whatever before : and whatever after it

hope that help and have a nice day :slight_smile: