What JavaScript Does in Apps
About this video
Check out this video I made with revid.ai
Try the Add Caption to Video
Create your own version in minutes
Video Transcript
Full text from the video
Hey, Peter. Serious question. When I open Instagram or YouTube,
what is JavaScript actually doing? Because it feels instant. That instant feeling
is JavaScript working quietly in the background. Quietly? I thought apps just load stuff.
They don't reload everything. JavaScript decides what changes and what stays on the
screen. Okay, explain that like I'm five. When you scroll
Instagram and new posts appear without the page refreshing, that's JavaScript fetching new data
and inserting it live. Exactly. So the app isn't reloading every
time. Exactly. Without JavaScript, every scroll would reload the entire
Newest Videos
240,909+ Short Videos
Created By Over 14,258+ Creators
Whether you're sharing personal experiences, teaching moments, or entertainment - we help you tell stories that go viral.