Add Reading Progress Bar to your Webpage - Tutorial

Axolobit on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerDesign Engineering10 min

About this video

This tutorial shows how to add a reading progress bar to a webpage with long articles, so readers can see how far through the text they are. It walks through the file structure, HTML, JavaScript and CSS in separate segments, and is aimed at people new to building it.

What you’ll learn

  • Add a reading progress bar to a long-form article page
  • Write the JavaScript that tracks scroll position through an article
  • Style a navbar and progress bar with CSS