Project 5: Team Members Grid
JS Wizard
Builds on these lessons
Step 1 of 3
Project
Creating an Array
Declare a teamMembers array of name strings, then log its length and its first element via index [0]. Arrays are ordered lists, and every element has a numeric position starting at 0.
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
const teamMembers = ["Dana Kim", "Marcus Lee", "Priya Sharma"];
console.log(teamMembers.length);
console.log(teamMembers[0]);