This commit is contained in:
2023-09-29 12:42:58 -04:00
parent 11e3941fec
commit 97183497ba
155 changed files with 27169 additions and 14 deletions

View File

@@ -3,22 +3,28 @@
<head>
<meta charset="UTF-8" />
<title>POST DEMO</title>
<title>Ballot Experiments</title>
</head>
<body>
<form id="my-form" action="/range_vote" method="post" oninput=UpdateValues(event)>
This page is an experiment in voting. Half of the people who visit this site vote using Plurality Voting
where a voter selects their top candidate, and the winner is the candidate with the most votes. The other
half use Range Voting where voters score all familiar candidates based on how happy they would be should
that candidate win. You have been randomly selected to vote using Range Voting.
<style>
form, table, th, td {
border:1px solid black;
border-collapse: collapse;
}
</style>
<form id="my-form" style="background-color:#E0E0E0" action="/range_vote" method="post" oninput=UpdateValues(event)>
This page is an experiment in voting. Half of the people who visit this site will use Plurality Voting:
Voters select their top candidate, and the winner is the candidate with the most votes. The other
half will use Range Voting: Voters score all candidates <i>that they know</i> based on how happy they would be should
that candidate win. <b>You have been randomly selected to vote using Range Voting.</b>
<br>
<br>
<table>
<tr>
<th>Candidate</th>
<th><span id="spanid"> </th>
<th style="width:50%"><span id="spanid"> </th>
<th>Happiness</th>
</tr>
<!-- INJECT0 -->