bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more

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

4.4 / 5.0
6492 students 48 minutes

Created by Laurence Svekis, offered on Udemy

bestcourses score™

Student feedback


To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 6492 students which left 30 reviews at an average rating of 4.4, which is average.

Course length


We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 48 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 7 hours 30 minutes.

Overall score


This course currently has a bestcourses score of 5.5/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.


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.

What you will learn

  • 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


  • HTML CSS and JavaScript
  • Programming experience
  • JSON and AJAX request knowledge
Udemy logo
Available on


With almost 200,000 courses and close to 50 million students, Udemy is one of the most visited online learning platforms. Popular topics include software development, the digital economy, but also more traditional topics like cooking and music.

Frequently asked questions

  • Price: Free
  • Platform: Udemy
  • Language: English
  • 48 minutes
JavaScript Page Scroll Endless Scroll Vanilla JavaScript thumbnail

bestcourses score: 5.5/10

There might be better courses available for this topic.