From what I can tell (and that aint much, being a newbie), it looks correct but I am getting errors…can anyone tell me what is wrong please? And go easy as this is my first request for help…
cheers
col
Your code so far
function testLogicalOr(val) {
// Only change code below this line
if (val < 10 || val > 20);{
// Only change code above this line
return "Outside";
}
// Change this value to test
return "Inside";
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
.
Challenge: Comparisons with the Logical Or Operator
Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/comparisons-with-the-logical-or-operator