Skip to content

Latest commit

 

History

History
118 lines (79 loc) · 3.52 KB

File metadata and controls

118 lines (79 loc) · 3.52 KB

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 🚀