why does this code not work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

why does this code not work?

Hello why does this javascript code not work? I just can not recognize the mistake ... this code is supposed to create a simple table. I have this code from a book https://code.sololearn.com/WbgQmPRgGaLL

13th Sep 2018, 12:21 PM
Stefan Es
Stefan Es - avatar
2 Answers
+ 4
You misspelled ”length” in your for loop. Line 21 You use capital letters when accessing firstname and lastname contact properties. Lines 28 and 34
13th Sep 2018, 12:39 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
Thank you for the quick help! now it works .. great
13th Sep 2018, 1:01 PM
Stefan Es
Stefan Es - avatar