first of all you should read a HTML/CSS/Javascript tutorial (the link I posted in the other thread)
some remarks to your code:
- // doctype missing
-
<html>
-
<head>
-
<title>Poll of the week</title>
-
// content-type/charset missing
-
<script type="text/javascript" src="poll.js"></script>
-
</head>
-
-
<body>
-
<div id="poll">
-
<h3>Would you like to see movies uploaded to this site?</h3>
-
// required attribute "action" missing
-
<form>
-
// put the radio button description in a <label>
-
// it’s not XHTML, so /> is invalid
-
Yes: <input type="radio" name="vote" value="0" onclick="getVote(this.value)" />
-
// see above
-
<br />
-
// see above
-
// same value as above?
-
No: <input type="radio" name="vote" value="0" onclick="getVote(this.value)" />
-
</form>
-
</div>
-
</body>
-
</html>
note: I personally prefer to put
all Javascript in an external file. (If you do so from the beginning, you will gain a better understanding of Javascript, although it is more difficult to understand at first)
and another link:
http://validator.w3.org (check your code for errors)