A simple wallpaper gallery website that fetches high-quality images from the Pexels API. Users can search for wallpapers, view them in full-screen preview, and download their favorite images.
- Curated Wallpapers: Displays a curated collection of wallpapers from Pexels on the homepage.
- Search Functionality: Users can search for specific wallpapers based on keywords.
- Full-Screen Preview: Click on any wallpaper to view it in full-screen mode.
- Download Option: Direct download of the high-resolution version of the wallpaper.
- HTML5 for structuring the webpage.
- CSS3 for styling and layout.
- JavaScript (ES6) for dynamic content fetching and interactivity.
- Pexels API for fetching wallpaper images.
- The homepage displays curated wallpapers fetched from the Pexels API.
- Users can search for specific images using the search bar.
- The website automatically loads more wallpapers when the "Load More" button is clicked.
- Clicking on any wallpaper opens a full-screen preview with a download option.
-
Clone the repository:
git clone https://github.com/vrushal09/vmwallpapers.git
-
Open the project folder:
cd VM-Wallpapers
-
Open
index.html
in your browser.Alternatively, you can use Live Server in VS Code to launch the website locally.
-
Go to Pexels API and sign up to get your API key.
-
Replace the placeholder
apiKey
in the JavaScript file with your Pexels API key.const apiKey = 'YOUR_API_KEY_HERE';