var myLinks = document.getElementsByTagName("a");
console.log("We have ", myLinks.length ," many links on the page");
However in the console it reports this:
We have 0 many links on the page
This is not true as there are 10 links, 9 in the navgation section of the website and 1 in the footer.
If someone can tell me what I am doing wrong that would be great.