DEV Community

Discussion on: Create a Reading Scroll Progress Bar for Your Blog in JavaScript and CSS

Collapse
 
waylonwalker profile image
Waylon Walker

Very nice... I want to say,

"doesnt the web already come with a progress bar on the side?"

but this looks so good. I would go for it!

Collapse
 
tayyebi profile image
Tayyebi

Dear Waylon, in some cases, when there is a serial of content, or a lazy loading concept for posts is implemented, the scroll bar will not be feasible (because of later appended content). We solved this issue for video content so far with timeline, and it's nice to have it for text content. Anyway I'm totally agree with you that if there is a single "post" in a "page", it's not a good idea to have a horizontal progress bar.

Hey Fred. That was cool man! Bravo. A minimal code that works. Well done.

Collapse
 
gaberomualdo profile image
Gabe Romualdo • Edited

Thanks, I really appreciate that!

— Gabriel

Collapse
 
gaberomualdo profile image
Gabe Romualdo • Edited

Thank you! I personally would only use this for articles or longer pages on a site, just to give users a clearer reminder of how long the page is and how far they've read. Thanks again!

— Gabriel