html graphics & js.   Ciclo for.   Accumulatore.