Skip to content

πŸŽ₯ A responsive hero slider with superhero-themed images, animated particle backgrounds, and music control. Built with HTML, CSS, JavaScript, Swiper.js, and Particles.js β€” ideal for portfolios, landing pages, or creative web design inspiration.

License

Notifications You must be signed in to change notification settings

MDJAmin/Animated-Slider-DC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Demo

Check out the live demo: GitHub Pages Demo

Hero Slider

Description

This project features a hero slider with a stylish design that includes animated particles in the background, a smooth image carousel using Swiper.js, and background music. The slider displays various superhero images, including Superman, Wonder Woman, Batman, Flash, and Joker. The user can control the background music using a play/pause button.

Features

  • Hero image carousel with superhero-themed slides
  • Particles.js background animation
  • Play/pause audio control
  • Stylish hover effects and smooth transitions
  • Responsive design for different screen sizes

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Swiper.js (for the image carousel)
  • Particles.js (for background animation)
  • Ionicons (for play/pause icons)

Installation

  1. Navigate to the project directory:
    cd hero-slider
  2. Open index.html in your web browser.

File Structure

hero-slider/
β”‚-- index.html          # Main HTML file
β”‚-- css/
β”‚   β”œβ”€β”€ style.css       # Stylesheet for the hero slider and animations
β”‚-- js/
β”‚   β”œβ”€β”€ script.js       # JavaScript for play/pause button, Swiper, and particles.js
β”‚-- assets/
β”‚   β”œβ”€β”€ Audio/19 Saving the Day_Award Ceremony_End Titles.mp3  # Background music
β”‚   β”œβ”€β”€ images/         # Superhero images for the Favicon
β”‚   β”œβ”€β”€ b8d0f4076816c52e2b0e23ca8d3b540d.jpg # 

Usage

  1. Extract the ZIP file.
  2. Open the index.html file in your browser.
  3. Click the play/pause button to control the background music.
  4. Use the slider to view different superhero images.
  5. The images will transition smoothly with the help of Swiper.js.

Customization

  • Modify the style.css file to change the design or adjust the background animations.
  • Update the JavaScript in script.js to add or change functionalities.
  • Replace the superhero images with your own by updating the image URLs in the HTML file.
  • Change the background music by replacing the mp3 file in the assets/Audio/ folder.

License

This project is open-source and available under the MIT License.

Author

Created by MDJAmin. Check out more projects on GitHub.

About

πŸŽ₯ A responsive hero slider with superhero-themed images, animated particle backgrounds, and music control. Built with HTML, CSS, JavaScript, Swiper.js, and Particles.js β€” ideal for portfolios, landing pages, or creative web design inspiration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published