How do I get a progress bar to show my actual dynamic progress regarding the courses | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I get a progress bar to show my actual dynamic progress regarding the courses

I'm wanting progress bars to show my progress with the different courses, but I am wanting it to be a dynamic thing that changes as I complete more. Is there a way to achieve that? I'm assuming it's something with a url and element Id associated with the course but I'm not putting 2 and 2 together to figure it out.

8th Aug 2019, 2:25 AM
jeremiah
jeremiah - avatar
2 Answers
+ 2
I don't know if you're familiar with Bootstrap but they have a whole progress bar feature: https://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-progress-bars.php You can use jQuery or JavaScript to update it, possibly by having your progress save to a file (maybe JSON) every time you complete a section, then having the progress bar function read from it when you load the page the bars are on.
8th Aug 2019, 7:34 AM
Rincewind
Rincewind - avatar
+ 1
No I have barely even looked at bootstrap. But am sure glad you answered. Just started working on javascript and I think I only looked a jquery once lol. Thank you I'll be sure to look at those options specifically.
9th Aug 2019, 2:10 AM
jeremiah
jeremiah - avatar