Originally Posted by qwertyoone
1. Please state any errors in this code. (If any)
1. Have you tried using yuur error console? What error messages do you receive? There is no function sum
2. This forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others, but try to help with fixing code that doesn't work. You may perhaps get someone to write this script for you, but you'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.
"To get back my youth I would do anything in the world, except take exercise, get up early, or be respectable."- Oscar Wilde (Irish Poet, Novelist, Dramatist and Critic, 1854-1900)