Flip a Coin Again explainer


#23

Take a look at Heather’s response to Spacegras above.

–Frankie


#24


What’s wrong with this . Am i doing any mistake ? It not submitting further but shows with this blue mark .


#25

The puzzle is looking for if (answer === 'heads'), which is a bit picky because your code will still draw 2 different pictures depending on whether the answer is heads or tails. It might make sense to make this change though, because your pictures will draw a green “T” shape if the answer is heads and an orange “H” shape if the answer is tails, which seems backwards.

–Frankie


#26

Yeah! Done ! Your answer helped me :grin::v:️very much thanks


#27

Screenshot_2018-08-12-13-36-45-88 not getting correct


#28

Your 2nd If Statement if ('heads' === 'tails') will always be false, so it will never run the code inside its block {}.

Try making it check if the answer is equal to 'tails' by using if (answer === 'tails')

–Frankie


#29

We need to use same Colors for both heads and tails