JavaScript Page Scroll Endless Scroll Vanilla JavaScript

person icon Laurence Svekis

JavaScript Page Scroll Endless Scroll Vanilla JavaScript

AJAX request on page bottom to load more content, fetch request to an API return more conten load JavaScript

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Laurence Svekis

architecture icon Development,Javascript


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

Please note this course is small and scope is to develop endless scroll effect to content container in a webpage.

Using JavaScript connect to an API endpoint, load more content into the container as the user is at the bottom.   Using only JavaScript no libraries or other code.

Course will demo how to connect to an API using JavaScript fetch, return content and load that content into a webpage.

Load pages of content from the API - please keep in mind API endpoints do vary and this is one possible option to create this effect with a particular endpoint setup for this course.

Taught by an instructor with over 20 years of REAL WORLD experience ready to help you learn more about JavaScript and how to create useful functionality on your web pages.

Fast friendly support is always available in the Q&A section

Please note that the scope of this course using JavaScript creating a  JavaScript Page Scroll using AJAX to request new JSON content from and API  If you are looking for a more detailed JavaScript course this course is not for you.  Simple course with limited scope designed to be topic specific.  This course is designed to demonstrate creating a specific topic, the content load on scroll event.  API endpoints will vary with content structure that is returned.  The course is a simple project in response to students who have asked about setting up this functionality.  JavaScript, JSON and AJAX knowledge are prerequisite to this course.

Who this course is for:

  • JavaScript Developers
  • Webmasters
  • Application developers
  • Website creators


What will you learn in this course:

  • How to add a scroll with AJAX request
  • AJAX to pages of JSON content
  • Load more content when user is at the bottom of the page


What are the prerequisites for this course?

  • HTML CSS and JavaScript
  • Programming experience
  • JSON and AJAX request knowledge
JavaScript Page Scroll Endless Scroll Vanilla JavaScript


Check out the detailed breakdown of what’s inside the course

8 Lectures
  • play icon Scroll Loader Introduction 02:45 02:45
  • play icon HTML page setup 05:12 05:12
  • play icon Get Data JSON fetch Request 05:25 05:25
  • play icon Output Data to Web Page 04:43 04:43
  • play icon On Scroll Load More 08:24 08:24
  • play icon Load more content on Scroll 07:07 07:07
  • play icon User Message Box 05:31 05:31
  • play icon Scroll Tweaks and Conclusion 07:01 07:01

Instructor Details

Laurence Svekis

Laurence Svekis

Instructor, GDE, Application Developer

I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

Providing Web development courses and digital marketing strategy courses since 2002.

Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998.  I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education.  The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online.  Technology connects us all in many ways.  It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications.  Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO. 

"Understanding technology provides a means to better connect with users.  It also opens so many doors.   Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us