File size: 4,782 Bytes
4b06534
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Progress | Learning App</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-100">
    <nav class="bg-blue-600 text-white p-4 shadow-md">
        <div class="container mx-auto flex justify-between items-center">
            <h1 class="text-2xl font-bold">Learning App</h1>
            <div class="space-x-4">
                <a href="index.html" class="hover:underline">Home</a>
                <a href="courses.html" class="hover:underline">Courses</a>
                <a href="quiz.html" class="hover:underline">Quiz</a>
                <a href="progress.html" class="hover:underline font-bold">Progress</a>
            </div>
        </div>
    </nav>

    <main class="container mx-auto p-4 mt-8">
        <div class="bg-white rounded-lg shadow-md p-6">
            <h2 class="text-2xl font-bold mb-6">Your Learning Progress</h2>
            
            <div class="mb-8">
                <h3 class="text-xl font-semibold mb-4">Overall Progress</h3>
                <div class="w-full bg-gray-200 rounded-full h-4">
                    <div class="bg-blue-600 h-4 rounded-full" style="width: 65%"></div>
                </div>
                <p class="text-right mt-1 text-gray-600">65% completed</p>
            </div>
            
            <div class="mb-8">
                <h3 class="text-xl font-semibold mb-4">Completed Courses</h3>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                    <div class="border p-3 rounded-lg flex items-center">
                        <div class="bg-green-100 p-3 rounded-full mr-4">
                            <i class="fas fa-check text-green-600 text-xl"></i>
                        </div>
                        <div>
                            <h4 class="font-medium">Mathematics Basics</h4>
                            <p class="text-sm text-gray-500">Completed on 12/05/2023</p>
                        </div>
                    </div>
                    <div class="border p-3 rounded-lg flex items-center">
                        <div class="bg-green-100 p-3 rounded-full mr-4">
                            <i class="fas fa-check text-green-600 text-xl"></i>
                        </div>
                        <div>
                            <h4 class="font-medium">Science Fundamentals</h4>
                            <p class="text-sm text-gray-500">Completed on 20/06/2023</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <div>
                <h3 class="text-xl font-semibold mb-4">Quiz Scores</h3>
                <div class="overflow-x-auto">
                    <table class="min-w-full bg-white">
                        <thead>
                            <tr class="bg-gray-100">
                                <th class="py-2 px-4 text-left">Quiz</th>
                                <th class="py-2 px-4 text-left">Date</th>
                                <th class="py-2 px-4 text-left">Score</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="border-b">
                                <td class="py-3 px-4">Mathematics Quiz 1</td>
                                <td class="py-3 px-4">10/05/2023</td>
                                <td class="py-3 px-4 text-green-600 font-medium">85%</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-3 px-4">Science Quiz 1</td>
                                <td class="py-3 px-4">18/06/2023</td>
                                <td class="py-3 px-4 text-green-600 font-medium">92%</td>
                            </tr>
                            <tr>
                                <td class="py-3 px-4">Language Quiz 1</td>
                                <td class="py-3 px-4">25/07/2023</td>
                                <td class="py-3 px-4 text-yellow-600 font-medium">75%</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </main>

    <footer class="bg-gray-800 text-white p-4 mt-8">
        <div class="container mx-auto text-center">
            <p>© 2023 Learning App. All rights reserved.</p>
        </div>
    </footer>
</body>
</html>