Gist 567de3d395c93485d790f9d3a2c1977f
✓ Published0🌍 Public
NNaoray
Last edited Jul 8, 2016
Created on Jul 8, 2016
This visualization calculates the total watch time for all Laracast video lessons by parsing the duration text from the page. Using jQuery to select each `.Lesson-List__length` element, it splits the minutes and seconds from each duration string and accumulates them, converting excess seconds into minutes and minutes into hours. The script then formats the final sum into a zero-padded HH:MM:SS string and displays a message stating how many hours it will take to complete the series. The data comes directly from the Laracast website's lesson list, with no external server interaction.
AI-generated description