What am i doing wrong 27/30


#1

var languages = {
english: "Hello!",
french: "Bonjour!",
notALanguage: 4,
spanish: "Hola!"
};

// print hello in the 3 different languages
for (var x in languages){
console.log( languages[x]);
}


#2

remember that for loops are assigned as follows.

for (var I, I < value, I++) {...}

I believe you are using the while expression. Unfortunately I can't get too detailed right now, but I hope this puts you on the correct path to succeed.