Level 7 lesson 1( What is an Array? )
We have created an array with subject names. And have used index to access the first element of the array. As we have string values in the array, we want you to print the length of the first array element.
We already have mentioned the code in console.log() for accessing the first array element, all you have to do is get the length of that string.
let subjects = ["HTML", "CSS", "JavaScript", "Php", "Bootstrap"];
console.log(subjects[0]);
can someone pls provide me the correct code....I am stuck at this.