Error on Chapter 14
ivq opened this issue · comments
// Get all h2 elements into an array const titleElements = document.getElementsByTagName("h2"); console.log(titleElements[0]); // Show the first h2 console.log(titleElements.length); // 2 (total number of h2 elements in the page)
There should be 3 h2 elements. And the corresponding picture14-07 is not correct.
Picture14-01 and picture14-02 lack a few lines of code.
Thanks for pointing this out.