(3/9)having problem here


#1

what’s wrong here?


^^I’ve used- get code- so the Qs is marked^

let newYearsResolutions = [‘Rappel into a cave’, ‘Take a falconry class’, ‘Learn to juggle’];

let listItem = newYearsReesolutions[0];
console.log(listItem);
console.log(newYearsResolutions[2]);


#2

Hi @sahar97n,

Check the spelling in this part:

let listItem = newYearsReesolutions[0];

All the red words in your pic is telling you where to look for the error. You just need to look attentively and carefully.

Be sure to go through your code bits by bits every time if it’s not working. That way you can learn to debug and sharpen that skill, which is a crucial skill for coding. :slight_smile:


#3

Ooh my bad thank you. :grinning:
I’ll be careful


#4

@codexthon got it exactly correct.:rofl:


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.