This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Simple DOM Exercise [May 21, 2011, 8:24 a.m.]


Write a function called by clicking a button on a page to alert

(1) the number of links on the page and

(2) the first and last of these links

(An answer is at http://jsbin.com/oweri3/edit)