Stuck on:Basic JavaScript: Comparisons with the Logical And Operator

here is the question:
Replace the two if statements with one statement, using the && operator, which will return "Yes" if val is less than or equal to 50 and greater than or equal to 25 . Otherwise, will return "No"

here is my answer:

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);

its not doing anything,
I checked with the hints, and I believe i have the same answer.
can anybody help please?

syntax error
check the parenthesis
there is not the same number of opening and closing parenthesis

You don’t need that close bracket.

many thanks.
I saw that after :smiley: :fu: