DEV Community

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

Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan • Edited

Nicely done! It even works in Edge.

That said, I'm not a big fan of BEM. This looks awful to me:

progress-bar-container__progress

Side note: I once tried adding a reading progress bar to my blog and found it pretty distracting. There's a good discussion about it over on the UX Stack Exchange.

Collapse
 
whatthehanan profile image
Hanan Hamza

I personally prefer BEM with scss.