What is wrong with that code? It seems right to me!
var carbonara = "You can make carbonara with " + pasta + ", " + meat + ", " + "and a sauce made with " + sauce.;
What is wrong with that code? It seems right to me!
var carbonara = "You can make carbonara with " + pasta + ", " + meat + ", " + "and a sauce made with " + sauce.;
at the end of your sentence (after sauce
variable), you have a full stop (.
) this should be a string ("."
)
thanks, but it is still not working!
Can you show me an updated version of your code?
var carbonara = "You can make carbonara with " + pasta + ", " + meat + ", " + "and a sauce made with " + sauce + ".";
i was hoping the exercise wasn’t going to make a problem out of it, but it seems its the case here after meat
variable:
", " + "
" + "
is pointless, it can just be ", and a sauce
(rest of string)
Sorry, thanks for your help again!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.