---
title: "Discussion on \"How To Create A Super Simple Image Slider\" | Hashnode"
description: "Discussion on \"How To Create A Super Simple Image Slider\". In this article, I'll show you how to create a super simple image slider with basic HTML, CSS, and JavaScript. 😀\nhttps://codepen.io/ApplePieGiraffe/pen/YzpvmqN\nHTML\nTo start, create a <div> to be the hold images in the slider. I'll add a class named..."
url: "https://hashnode.com/posts/how-to-create-a-super-simple-image-slider/60409bc6ff443a0a449a0739"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Create A Super Simple Image Slider](https://applepiegiraffe.hashnode.dev/how-to-create-a-super-simple-image-slider?utm_source=hashnode&utm_medium=feed)

In this article, I'll show you how to create a super simple image slider with basic HTML, CSS, and JavaScript. 😀 https://codepen.io/ApplePieGiraffe/pen/YzpvmqN HTML To start, create a <div> to be the hold images in the slider. I'll add a class named...

Mar 4, 2021 · 6 min read · applepiegiraffe.hashnode.dev  
Read the article

-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#images](https://hashnode.com/tag/images)

## Written by

[ApplePieGiraffe](https://hashnode.com/@ApplePieGiraffe)

@ApplePieGiraffe

  
[View profile](https://hashnode.com/@ApplePieGiraffe)

A budding frontend designer/developer!

## Responses 3

Markdown supported · ⌘↵ to post

[Matthew Sheldon](https://hashnode.com/@MatthewSheldon23)

[Mar 7, 2025](https://hashnode.com/posts/how-to-create-a-super-simple-image-slider/60409bc6ff443a0a449a0739/comment/67cb59a49f219262a9795106)

The article is nice when it comes to transitioning, it transitions smoothly. Great job.

[Tesla\_Ambassador](https://hashnode.com/@TeslaAmbassador)

[Mar 8, 2021](https://hashnode.com/posts/how-to-create-a-super-simple-image-slider/60409bc6ff443a0a449a0739/comment/6045a9db5a56f82fa3ecd405)

This is great work bro. Simply done with precision... It's incredible! I love the transition between the images

[ApplePieGiraffe](https://hashnode.com/@ApplePieGiraffe)

[Mar 8, 2021](https://hashnode.com/posts/how-to-create-a-super-simple-image-slider/60409bc6ff443a0a449a0739/comment/6045a9db5a56f82fa3ecd405#reply-604615a85a56f82fa3ecddb4)

Thanks! 👍

[Joran Minjon](https://hashnode.com/@DrKlonk)

[Mar 6, 2021](https://hashnode.com/posts/how-to-create-a-super-simple-image-slider/60409bc6ff443a0a449a0739/comment/6043a72a8458d42fc821b2ed)

Nice article! It is written very clearly. I really like the end result and the transitions.

To prevent repeating code, you can merge the two eventhandler functions like so: [codepen.io/drklonk/pen/NWbLgQg](https://codepen.io/drklonk/pen/NWbLgQg) It keeps the code for changing the picture in one place and is a bit easier to expand on, I believe.

[ApplePieGiraffe](https://hashnode.com/@ApplePieGiraffe)

[Mar 6, 2021](https://hashnode.com/posts/how-to-create-a-super-simple-image-slider/60409bc6ff443a0a449a0739/comment/6043a72a8458d42fc821b2ed#reply-6043d4885a56f82fa3ecc1c8)

Oh, hey, thanks! 😊

That's a good idea, too! 👍
