File size: 1,387 Bytes
950590a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Career Path Advisor</title>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container mt-5">
        <h1 class="text-center">Career Path Advisor</h1>
        <form method="post" action="/recommend">
            <div class="mb-3">
                <label for="skills" class="form-label">Skills (comma-separated):</label>
                <input type="text" class="form-control" id="skills" name="skills" required>
            </div>
            <div class="mb-3">
                <label for="interests" class="form-label">Interests (comma-separated):</label>
                <input type="text" class="form-control" id="interests" name="interests" required>
            </div>
            <button type="submit" class="btn btn-primary">Get Recommendations</button>
        </form>

        {% if recommendations %}
            <h2 class="mt-5">Career Recommendations:</h2>
            <ul class="list-group mt-3">
                {% for recommendation in recommendations %}
                    <li class="list-group-item">{{ recommendation }}</li>
                {% endfor %}
            </ul>
        {% endif %}
    </div>
</body>
</html>