yasserrmd commited on
Commit
950590a
1 Parent(s): cde0065

Create templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +34 -0
templates/index.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Career Path Advisor</title>
7
+ <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
8
+ </head>
9
+ <body>
10
+ <div class="container mt-5">
11
+ <h1 class="text-center">Career Path Advisor</h1>
12
+ <form method="post" action="/recommend">
13
+ <div class="mb-3">
14
+ <label for="skills" class="form-label">Skills (comma-separated):</label>
15
+ <input type="text" class="form-control" id="skills" name="skills" required>
16
+ </div>
17
+ <div class="mb-3">
18
+ <label for="interests" class="form-label">Interests (comma-separated):</label>
19
+ <input type="text" class="form-control" id="interests" name="interests" required>
20
+ </div>
21
+ <button type="submit" class="btn btn-primary">Get Recommendations</button>
22
+ </form>
23
+
24
+ {% if recommendations %}
25
+ <h2 class="mt-5">Career Recommendations:</h2>
26
+ <ul class="list-group mt-3">
27
+ {% for recommendation in recommendations %}
28
+ <li class="list-group-item">{{ recommendation }}</li>
29
+ {% endfor %}
30
+ </ul>
31
+ {% endif %}
32
+ </div>
33
+ </body>
34
+ </html>