- Scroll Loader Introduction
- HTML page setup
- Source Code
- Get Data JSON fetch Request
- Source Code
- Output Data to Web Page
- Source Code
- On Scroll Load More
- Source Code
- Load more content on Scroll
- Source Code
- User Message Box.
- Souce Code
- Scroll Tweaks and Conclusion
- Final Source Code
What you'll 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
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.
Other Courses
Drawing an owl on an old upcycled skateboard
Sketching, drawing and detailing owl an artwork on an old upcycled skateboard
PLT 101: A Step Toward the Person You Aspire to BE
Introduction to mantra meditation, a daily yoga practice and a learning path towards self transformation.
About the instructors
- 4.37 Calificación
- 1004919 Estudiantes
- 297 Cursos
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!"
Student feedback
Course Rating
Reviews
Excellent tutorial! Thanks!
It's a very practic course. Easy and useful.
Thank you! its awesome!
Is very satisfied with the content of the course. After completing the course, you will be able to do those things yourself.
I took the course because it covered a feature I've never been asked to code. The videos were short and sweet and I appreciated getting the source code ste by step.