Last active
May 7, 2023 12:16
-
-
Save EnkrateiaLucca/bf4cae0723e16243f6bb0d0ae59270e6 to your computer and use it in GitHub Desktop.
Index file for the learning app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Learning Feed</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
#examples { | |
max-height: 400px; | |
overflow-y: scroll; | |
border: 1px solid #ccc; | |
padding: 1rem; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Learning Feed</h1> | |
<form method="post"> | |
<label for="topic">Topic:</label> | |
<input type="text" id="topic" name="topic" required> | |
<button type="submit">Generate Examples</button> | |
</form> | |
<div id="examples"> | |
{% if examples %} | |
{{ examples | safe }} | |
{% endif %} | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment