Yep! A form with a javascript hooked up to it would work well
Amongst other things, you'd need something like:
Code:
<form id="form1" onsubmit="checkAnswers()">
<label for="name">Name:</label>
<input id="name" name="name" type="text" />
<input type="submit" name="submit" value="Go!" />
</form>
When this form is submitted (when you press the submit button), it will call a javascript function called "checkAnswers()", and you can do various spiffy calculations there.
For instance, this will take the name that's been inputted in the textfield, and display an alert:
Code:
<script language="javascript" type="text/javascript">
function checkAnswers()
{
var name = document.getElementById("name").value;
alert("Hello "+name);
}
</script>
(you can try just copying and pasting those into a webpage... probably in the opposite order though (script and then form)).
The w3schools website has a good section on javascript too, incase you need to read up on it:
http://www.w3schools.com/js/default.asp