Welcome to the Treehouse Community
Looking to learn something new?
mazhar salam126 Points
what did i do wrong?
im finding it hard to complete this task.
String favoritecolor = "blue";
I think because you change the variable name so it was detecting some error
it should be favoriteColor not favoritecolor
Michael Hess24,511 Points
Hi Mazhar Salam,
The favoriteColor variable needs to be written in camelCase. Camel case is a naming convention where words are joined together and every separate word is capitlized. e.g. camelCase or favoriteColor
Here is a link to a wiki about camelCase: camelCase Wikipedia
Hope this helps!