The smooth scrolling effect, helps improve User Experience (UX) while navigating through different locations in a Web Page.
Table of Contents: 00:00 Introduction 06:45 Approach #1 - window.scrollTo(options) 11:35 Approach #2 - element.scrollIntoView(options) 16:25 Approach #3 - window.requestAnimationFrame(callback) & window.scrollTo(x-coord, y-coord)
Code for this Project: https://codepen.io/Coding_Journey/pen/xyjwpr
Easing Functions: http://gizma.com/easing/
Support the Channel 💙☕🙏 PayPal: https://paypal.me/CodingJourney
Affiliate Links* Bluehost Web Hosting: https://www.bluehost.com/track/codingjourney/
*By making a purchase through any of my affiliate links, I'll receive a small commission at no additional cost to you. This helps support the channel and allows me to continue creating videos like this. Thank you for your support!
Thanks for watching! For any questions, suggestions or just to say hi, please use the comment section below!
We are an expert UI/UX development company in India & USA. Our UI/UX developers help you with creative UI/UX design for web & mobile apps. Consult us today!
What is PHP: - Who invented PHP, how it works, answers to all such questions about PHP, and much other information, you are going to