Bugged


#1


Oops, try again. It looks like your happy function returns true instead of true when programming is true comes up when I try to submit the thing.


Replace this line with your code.


#2

can we see your code? make sure to return a boolean value, not a string


#3

// Declare your variables here!
var programming = false

var happy = function() {
if(programming = false){
return false}
else{
return true}

};


#4

a single equal sign means assign, it doesn't check if things are equal


#5

oh thanks...........


#6

so that means i am supposed to do this:
// Declare your variables here!
var programming = false

var happy = function() {
if(programming === false){
return false}
else{
return true}

};


#7

yes, does it work now? If not, please provide exercise url


#8

what does exercide mean?


#9

i mean exercise url...


#10

the url of the exercise page?


#11

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