Diashow code not working, full with errors

so i created this acc