Stuck at 3/9, Qs


#1

https://www.codecademy.com/courses/learn-javascript-arrays/lessons/arrays/exercises/property-access?action=lesson_resume&course_redirect=introduction-to-javascript

iDK why it says:Did you type console.log(newYearsResolutions[2]); in your code?

```

let newYearsResolutions = [‘Super’,“Happpy”,‘Super’]

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


let newYearsResolutions = ['Super',"Happpy",'Super']




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

#2
console.log(newYearsResolutions[2]) // missing semi-colon

you miss a semi-colon at the end of the line, it seems to be the problem


#3

hey @stetim94 thanks a lot
how do you guys do debugging ?
you all must start a course on that


#4

For some languages debug tools exist, or you can learn TDD (test driven development), but finding bugs also comes with time and experience.


#5

where can i learn TDD BTW ? i am planning to build some website and need the skill
thanks in advance


#6

well, part of building something is find the right tools (including how to do testing), and implement it. Some website is what? front-end? back-end?

for the front-end, a simple googling yielded:

But most testing will be done at back-end i guess.


#7

@stetim94 thanks and i try to find more
but if you got any good sites to learn debugging than pls do pm me
:sweat_smile:
cheers


#8

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