- 1

coding required for scorlling like youtube

YouTube scrolling

15th Nov 2021, 1:05 AM
Aman Gautam
Aman Gautam - avatar
5 Answers
+ 2
YouTube use not just html and css, but also some js framework (i think angular) for UI. Also you need to add backend language and database, to store all videos posted by users, all views and likes count... and protect this data. So yes you need programming. About scrolling, this data is probably downloaded from server in smaller chunks, so when you reach end you got new set of videos like 5-10.., you can also see sometimes loading icon
15th Nov 2021, 1:20 AM
PanicS
PanicS - avatar
0
Rachna Gautam are you referring to infinite scroll in youtube or something else?
15th Nov 2021, 1:11 AM
Art1mis
0
I need html coding
15th Nov 2021, 1:12 AM
Aman Gautam
Aman Gautam - avatar
0
For infinite scroll you can use infinite scroll library ( https://infinite-scroll.com/ ) or for pure js code you can refer to this stackoverflow post. https://stackoverflow.com/questions/6456846/how-to-do-an-infinite-scroll-in-plain-javascript
15th Nov 2021, 1:14 AM
Art1mis
0
I want to create YouTube like app
15th Nov 2021, 1:15 AM
Aman Gautam
Aman Gautam - avatar