Understanding Html Css And Javascript Foreach Break