Ayuda a escribir un script js

lthtml gt

lthead gt

lttitle gtCambiar tamaño de fuente

lt/head gt;

ltscript type = " texto/JavaScript " gt ;

ventana.onload=función(){

document.getElementById("grande"). onclick=function(){

documento. estilo del cuerpo. tamaño de fuente = parse int(documento. cuerpo. estilo. tamaño de fuente)

}

document.getElementById("pequeño "). onclick=function(){

documento. estilo del cuerpo. tamaño de fuente = parse int(documento. cuerpo. estilo. tamaño de fuente)-1; p>}

lt/script gt;

ltbody style = " font-size: 12px "

sdfadfsasdfdsaf

ltbr/ >; ltbutton id = "big" gt se hace más grande

ltbutton id = "small" gt se hace más pequeño

lt/body gt;

lt/html gt ;