News for hackers. Stuff that matters.

URGENT Help with this Program

WHY WONT THIS WORK?

<!Doctype> <html> <title> Science Fair Project 2013</title> <h1>Author Analysis</h1> <p>Enter Passage Here</p> <form method="post" name="Counter"> <p>Type or paste a list of words, separated by spaces, into the box below, then press the "Count Word Length" button to count the number of letters in each word.</p> <textarea name="inputText" rows="5" cols="80" wrap="on"></textarea> <p><input name="CountButton" type="button" onclick="CountWordLength(this.form.inputText, this.form.outputText, this.form.lettersPerWord)" value="Count Word Lengths">&nbsp; <input name="ClearButton" type="button" onclick="ClearForm(this.form)" value="Clear Lists"></p> <textarea readonly="" name="outputText" rows="5" cols="80" wrap="on"></textarea> <p>Average number of letters per word: <input name="lettersPerWord" type="text" size="10" readonly=""></p> </form> </html>

( 1 comment | on HN )
Re:URGENT Help with this Program by whitnah on Monday January 07, 2013 @07:16PM (#5024154)
http://www.sciencebuddies.org/science-fair-projects/project_...

But seriously, where is your JavaScript? You're calling functions that don't exist. You don't seem to have implemented anything, and you're not importing any libraries.