Spaces:
Paused
Paused
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Question Generator</title> | |
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet"> | |
<style> | |
body { | |
font-family: 'Roboto', sans-serif; | |
background-color: #f4f4f9; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} | |
.container { | |
background-color: white; | |
padding: 2rem; | |
border-radius: 8px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
max-width: 400px; | |
text-align: center; | |
} | |
h1 { | |
margin-bottom: 1.5rem; | |
font-weight: 500; | |
} | |
select, button { | |
width: 100%; | |
padding: 0.8rem; | |
margin-bottom: 1rem; | |
border-radius: 4px; | |
border: 1px solid #ddd; | |
font-size: 1rem; | |
} | |
button { | |
background-color: #5cb85c; | |
color: white; | |
border: none; | |
cursor: pointer; | |
} | |
button:hover { | |
background-color: #4cae4c; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Select Question Type</h1> | |
<form action="/get_questions" method="POST"> | |
<select name="question_type" required> | |
<option value="t1" selected>Choose the correct meaning of the word</option> | |
<option value="t2">Personal responce</option> | |
<option value="t3">Give the reasons</option> | |
<option value="t4">Fill in the blanks</option> | |
<option value="t5">True or False: If False, correct them.</option> | |
</select> | |
<button type="submit">Generate Questions</button> | |
</form> | |
</div> | |
</body> | |
</html> | |