Lesson 5 variables?


I have got to the bit with:

boolean isFun;

and I cant get past this point I have tried doing

boolean isFun = true;

plus many other things but this does not seem to work I would love some help :smile:)


This is correct. Have you tried the Run button a few times?


I have tried it and it gave me the code because i tried it so many times


Thanks for the help AR


Maybe it is stuck, refresh/reload the web page? logout/in again?

If none of that works, could you give me a screenshot?


The variable is already set at the top of the page;
all you need to do is write the variable name and equal it to whatever.

isFun = true

It's just like the integer; you if its already set you dont have to write "int" again.

Hope this helps!!