2. Access by offset


#1

https://www.codecademy.com/courses/javascript-beginner-en-9Sgpi/0/2?curriculum_id=506324b3a7dffd00020bf661#

error: Oops, try again. Make sure you log the third element of the languages array to the console.
i don't understand what is the problem... am i not logging tge 3rd element? i thought i was.

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];

languages[2];


#2

if you need to log something to the console, you need to use console.log()


#3

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