Stuck in 10/16


#1

Error : Your condition should be if (coinToss() == "heads") {

I tried everything i can't get pass


if(coinToss() == "heads") {
  var img = <img src={pics.kitty} />;
}else{
  var img = <img src={pics.doggy} />;
}


#2

It is so stupid problem was in the first line here

if (coin......

one more space between if and (


#3

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