Skip to content

DalaScript/infinity-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinity Scroll | ZTM JS Web Projects Course

Project 2/20

This is a dynamic image gallery built with HTML, CSS, and JavaScript that uses the Unsplash API to fetch and display random images with infinity scrolling. When the user scrolls near the bottom of the page, more photos are automatically loaded.

⚠️ Important: You must use your own Unsplash API key to make this project work. Visit Unsplash Developers to register and obtain an API key.


📚 Table of contents


🔎 Overview

📸 Screenshot

Live Preview Screenshot

🔗 Links

📌 Features

  • ✅ Infinity Scroll to fetch more images on demand
  • ✅ Smooth image loading experience

🛠️ Built with

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • Unsplash API

📦 Setup & Installation

1️⃣ Clone the Repository

git clone https://github.com/DalaScript/infinity-scroll.git
cd infinity-scroll

2️⃣ Add Your API Key

Replace the apiKey in script.js with your own Unsplash API key:

const apiKey = 'YOUR_UNSPLASH_API_KEY';

3️⃣ Run the Project

You can open index.html directly in your browser or use a local development server:

# Example: Using VS Code Live Server or any static file server

🧠 My Process

🗃️ Useful resources

🔙 Previous Project

🔜 Next Project


👤 Author

🌐 Connect with Me

💻 Coding Profiles

🙌 Thanks for checking out my project! More coming soon. Stay tuned 🚀

About

ZTM JS Web Projects Course | Infinity Scroll | Project 2/20

Topics

Resources

Stars

Watchers

Forks