Question: Write a function that is called when an on-screen button is clicked that displays the following two alerts separately. The number of links on the
Write a function that is called when an on-screen button is clicked that displays the following two alerts separately. The number of links on the page The first and last of these links The function document.links returns the number of links included in the DOM Try this exercise on your own before seeking help. There is plenty of help in the document class online. However, if you are stuck, the attached document shows one version of a solution. Do Not Turn In The Solution Provided! Attached Files: DOM.txt
Contents of DOM.txt:
JS DOM
DOM Reference Portable FF
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
