|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Quiz App</title> |
|
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> |
|
</head> |
|
<body> |
|
<h1>Welcome to the Quiz App</h1> |
|
<form action="{{ url_for('start') }}" method="post" enctype="multipart/form-data"> |
|
<label for="name">Enter your name:</label> |
|
<input type="text" id="name" name="name" required> |
|
<br> |
|
<label for="file">Upload JSON file:</label> |
|
<input type="file" id="file" name="file" required> |
|
<br> |
|
<button type="submit">Start Quiz</button> |
|
</form> |
|
</body> |
|
</html> |