I just reviewed the video again and it was good to reconsider the lesson for reinforcement.
this time I thought I would experiment with the example page for 126.96.36.199 by addressing elements within and then drilling down further. an example being ‘div’.
I if do this I get an array of 3 elements
div1 = document.getElementsByTagName ( ‘div’ );
and if I console.log the 2nd element out (console.log ( div1 ) 😉 I see: div id=”contact”>
but if I try to set view an element within this 2nd element I error.
ie: console.log (div1.getSelector( ‘p’ ) );
In fact, a clue that I am going wrong is that the auto complete text does not make suggestions. even if I console.log (div1……..)
Does anyone know what I am doing wrong?