Tell us what’s happening:
dont know whats wrong with the code…its not running
Your code so far
function testLogicalAnd(val)
{
if (val<=50 && val >=25)
{
return "Yes";
}
return "No";
}
testLogicalAnd(10);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Comparisons with the Logical And Operator
Link to the challenge: