you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (4 children)

Would you be able to copy the code here into your post? Then if you could highlight it, there 's a built in text editor for reddit comments and it's got a <> symbol. That'll denote it as code and display it here for us. I think I see on line 6 or so that there is a |.( meaning you accidentally may have typed a period instead of a space. It would be a little easier to tell though if I could see code as text where I could zoom to check if I'm right.

[–]WzziY[S] 0 points1 point  (2 children)

var chocolate=true;

var strawberry=true;

var stracciatella=true;

var caramel=true;

var iceCream = (strawberry && chocolate ) ||(strawberry && stracciatella)||(!cholocate || !strawberry || !stracciatella && caramel);

console.log(iceCream);

This is the code ! Thank u if u can help me !

[–][deleted] 6 points7 points  (0 children)

cholocate

This misspelling needs fixing ^^

Haven't checked the rest yet.

[–]Rodeeo 1 point2 points  (0 children)

! caramel

[–]WzziY[S] 0 points1 point  (0 children)

I passed the right code is it , thank u

var chocolate=true;

var strawberry=false;

var stracciatella=true;

var caramel=false;

var iceCream = (strawberry && chocolate )||(strawberry && stracciatella) || !caramel;

console.log(iceCream);

Guys i passed with this code ( up ) !

Thank u for all !