Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
jQuery Image Slider Project JavaScript HTML CSS Carousel
Rating: 4.3 out of 5(29 ratings)
7,215 students

jQuery Image Slider Project JavaScript HTML CSS Carousel

Explore how to create an image slider for your web pages with jQuery Image Carousel component rotate images on intervals
Created byLaurence Svekis
Last updated 11/2024
English

What you'll learn

  • apply jquery to create an interactive dynamic project
  • Use of HTML CSS JS and jQuery to create an image slider
  • Creating a common web component rotating image Carousel
  • jQuery coding how to select and update elements
  • jQuery how to add event listeners for interactive elements on web pages

Course content

2 sections11 lectures1h 14m total length
  • Introduction to Image Carousel slider project add images and rotate images2:03
  • Course Resources and Downloadable PDF Guide0:11
  • jQuery Project Developer Tools and Page Setup Create Index Page8:11

    Section setup details and info for starting the project - resource and websites.

    Lesson Challenge

    1. Create index and js files

    2. Setup basic HTML structure

    3. Link to jQuery Library check to ensure its ready

    4. Open editor write some HTML


  • Create an array of Image Paths used to output images to the Page11:44

    Explore how to setup a testing array of placeholder images, customize the images and generate a useful array of content for your page.

    Lesson Challenge

    1. Generate an array of image paths

    2. Add images to the page

    3. Add active class to the first image

    4. Wrap img tag with a div and add a span for captions

    5. Load onto the page with document ready


  • Random Image Colors function adding colorful images to the web page5:52
  • How to Add CSS Styling to jQuery Image Slider Project13:32

    Add CSS Styling to jQuery Image Slider Project

    Make it look nice - setup the images to stack and position images to prepare for jQuery Coding. Create visible images output to page and setup CSS.

    Lesson Challenge


    1. Apply Styling to the project

    2. Stack images within one main element

    3. Use zindex to show first image only

    4. Use opacity to hide the other images that are not active

    5. Set widths for the image slider, also add the caption area with styling for anticipated content.


  • Adding and removing element classes with jQuery. Setting Interval moving slides.7:13

    Adding and removing element classes with jQuery. Setting Interval moving slides.

    Using selection of active elements - to update and remove classes adding new active class to the new sibling element using jQuery Code. Setting Interval moving slides.


    1. Setup Interval to run a function

    2. Select element with active class

    3. Remove active from current element

    4. Select the next or restart the list of elements within the array

    5. Add active to next slide


  • How to Add Control Button Options for user event listeners and controls of slide9:28

    Add Control Button Options for user event listeners and controls of slider.

    Adding buttons for user interaction so that the user can control movement of slides to next and previous images. User interaction and event listeners with jQuery. Move to next slide on click.


    Lesson Challenge


    1. Add Control button options to screen

    2. Apply CSS to buttons for control

    3. Add Click events to the buttons

    4. Create a function to move to next and then to move to previous slide.

    5. Add events on click of button to move to new slide.


  • How to debug Update Intervals reset timer of interval on user interaction.6:26

    Update Intervals reset timer of interval on user interaction.

    Debug the jQuery project update and reset the interval timer to restart with counters once a user interacts with the slider controls.

    Lesson Challenge

    1. Test of Slide project

    2. Catch errors with intervals that should be reset after user interaction

    3. Add interval as a property value to be able to clear the interval when needed.

    4. Clean function of repeat coding

    5. Add interval and clear interval functions.


  • jQuery slider Image Carousel Project Review code updates and debugging9:27

    jQuery slider Image Carousel Project Review code updates and debugging

    Final code review and updates to clean the code and update styling.


Requirements

  • HTML CSS JavaScript and jQuery
  • Prior coding experience

Description

Explore how to create a dynamic image carousel component from scratch using HTML CSS JS and jQuery.   

Challenges and tasks for project at the end of each lesson - code alongside the lessons to develop your own Image Slider. Source Code included - Downloadable PDF resource Guide Included.

  • Section setup details and info for starting the project - resource and websites.

  • Create an array of Image Paths used to output images to the Page. Explore how to setup a testing array of placeholder images, customize the images and generate a useful array of content for your page.

  • Random Image Colors function adding colorful images to the web page. Using JavaScript String methods create random hex color value generator.

  • How to Add CSS Styling to jQuery Image Slider Project Make it look nice - setup the images to stack and position images to prepare for jQuery Coding. Create visible images output to page and setup CSS.

  • Adding and removing element classes with jQuery. Setting Interval moving slides Using selection of active elements - to update and remove classes adding new active class to the new sibling element using jQuery Code. Setting Interval moving slides.

  • Add Control Button Options for user event listeners and controls of slider.  Adding buttons for user interaction so that the user can control movement of slides to next and previous images. User interaction and event listeners with jQuery. Move to next slide on click.

  • Update Intervals reset timer of interval on user interaction.  Debug the jQuery project update and reset the interval timer to restart with counters once a user interacts with the slider controls.

  • jQuery slider Image Carousel Project Review code updates and debugging.  Final code review and updates to clean the code and update styling.

Source Code is included

Taught by an instructor with over 20 years of web development experience ready to help you learn more about JavaScript


Who this course is for:

  • Web developers
  • Web designers
  • Anyone who uses jQuery
  • JavaScript Coders
  • Anyone who wants to practice jQuery and Frontend coding