OneCompiler

e-voting system

1641
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>College Voting System</title> <style> body { font-family: Arial, sans-serif; margin: 20px; } .container { max-width: 600px; margin: auto; } h1 { text-align: center; } .candidate { margin: 10px 0; } .candidate label { margin-right: 10px; } .submit-btn { display: block; margin: 20px auto; } </style> </head> <body> <div class="container"> <h1>SIKRI COLLEGE VOTING SYSTEM</h1> <h2>presidency</h2> <form action="/vote" method="POST"> <div class="candidate"> <input type="radio" id="candidate1" name="candidate" value="1" required> <label for="candidate1">Hon.john barracks</label> </div> <div class="candidate"> <input type="radio" id="candidate2" name="candidate" value="2" required> <label for="candidate2">Hon.kevo</label> </div> <div class="candidate"> <input type="radio" id="candidate3" name="candidate" value="3" required> <label for="candidate3">Hon.sussy mabeya</label> </div> <button type="submit" class="submit-btn">Submit Vote</button> </form> </div> <div class="container"> <h3>Ministries</h3> <form action="/vote" method="POST"> <div class="candidate"> <input type="radio" id="candidate1" name="candidate" value="1" required> <label for="candidate1">Hon.clinton kipngetich</label> </div> <div class="candidate"> <input type="radio" id="candidate2" name="candidate" value="2" required> <label for="candidate2">Hon.Mark obuya</label> </div> <div class="candidate"> <input type="radio" id="candidate3" name="candidate" value="3" required> <label for="candidate3">Hon.issabellah criss</label> </div> <button type="submit" class="submit-btn">Submit Vote</button> </form> </div> </body> </html>