Media.net interview question

Highest and lowest number in array and DOM related UI task with JS.