Tell us what’s happening:
Describe your issue in detail here.
I have entered the code but I am unable to pass the test. Can anyone point me to what is happening here?
Your code so far
function testLogicalAnd(val) {
// Only change code below this line
if (val <= 50 && val >= 25) {
return "yes";
}
// Only change code above this line
return "No";
}
testLogicalAnd(10);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Challenge: Basic JavaScript - Comparisons with the Logical And Operator
Link to the challenge: