Having difficulty creating a variable and setting it equal to a boolean



var hasPet = 'false';

Replace this line with your code.


Don't store the boolean false as a string 'false' just write var hasPet = false;


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.