I have made a quick Jsbin: http://jsbin.com/ujabew/edit#javascript,html,live
What i'm trying to achieve is to find out which is the largest <section>
out of the 3 from the link. So what i'd like is to, after the loop runs, is to have var width
set to the largest possible number that any of the widths could be.
Code in progress posted in link
var max = 0; loop( if this.width > max then max = this.width);
in bad pseudo-code. – Como