noams24 / Kef-Code

An educational website to help students easily pass tests
https://www.kefcode.com
MIT License
9 stars 19 forks source link

Load the progress percent from the data-base #74

Closed noams24 closed 1 year ago

noams24 commented 1 year ago

image

In the courses page: https://github.com/noams24/Kef-Code/blob/main/src/app/courses/page.tsx And in the chapter page: https://github.com/noams24/Kef-Code/blob/main/src/app/courses/%5Bcourse%5D/page.tsx

It is calculated like this: (number of questions / solved questions) * 100

Display it only for logged in users