<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Generate Quiz</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
background-color: #f0f0f0; | |
color: #333; | |
margin: 20px; | |
} | |
h2 { | |
background-color: #ffc107; | |
padding: 10px; | |
border-radius: 5px; | |
} | |
form { | |
background-color: #fff; | |
padding: 20px; | |
border-radius: 5px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
margin-bottom: 20px; | |
} | |
label { | |
display: block; | |
margin-bottom: 10px; | |
} | |
textarea { | |
width: 100%; | |
padding: 10px; | |
border: 2px solid #ffc107; | |
border-radius: 4px; | |
resize: vertical; | |
min-height: 150px; | |
background-color: #f0f0f0; | |
} | |
input[type="submit"] { | |
background-color: #ffc107; | |
color: #333; | |
border: none; | |
padding: 10px 20px; | |
cursor: pointer; | |
border-radius: 4px; | |
} | |
input[type="submit"]:hover { | |
background-color: #ffca28; | |
} | |
</style> | |
</head> | |
<body> | |
<h2>Generate Quiz</h2> | |
<form action="/" method="post"> | |
<label for="context">Context:</label><br> | |
<textarea id="context" name="context" rows="20" required></textarea><br><br> | |
<input type="submit" value="Generate Quiz"> | |
</form> | |
</body> | |
</html> | |