100JSProjects
LearnProjectsExplore all projects
100JS_WORKSPACE/Build · Learn · Repeat
100JSProjects

Practical HTML, CSS, and JavaScript projects designed to help you turn concepts into real skills—one build at a time.

01Explore

./All projects./Learning guides./About./Contact./Privacy

02Resources

./GitHub repository./Support the project

© 2026 100 JS Projects. Built for developers.

TermsCookiesContact
JS//Projects/Image Slider

Image SliderHTML, CSS & JavaScript Project

HTML5CSS3JavaScript
View Source CodeLive Demo
Image Slider project previewTry Live Demo
What you'll build

Image Slider

In this project, we’re going to build a practical image slider using HTML, CSS, and JavaScript. You’ll see how to move between items and keep the active content synchronized. Along the way, you’ll practice setTimeout, click events, DOM selection, so you can understand how the interface and JavaScript logic work together.

HTML
— Structure
CSS
— Design
JavaScript
— Logic
Complete project files

Build It from the Source Code

Create these three files, copy the code into each one, then open index.html with Live Server.

Project structure
image-slider/
├── index.html
├── style.css
└── index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Image Slider</title>
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
      integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
      crossorigin="anonymous"
      referrerpolicy="no-referrer"
    />
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="slider-container">
      <div class="image-container">
        <img src="https://picsum.photos/id/237/500/300" alt="image" />
        <img src="https://picsum.photos/id/1/500/300" alt="image" />
        <img src="https://picsum.photos/id/10/500/300" alt="image" />
        <img src="https://picsum.photos/id/20/500/300" alt="image" />
        <img src="https://picsum.photos/id/200/500/300" alt="image" />
      </div>
      <i class="fas fa-angle-double-left btn prev"></i>
      <i class="fas fa-angle-double-right btn next"></i>
    </div>
    <script src="index.js"></script>
  </body>
</html>

JS// Related Projects

Keep Building with Similar Projects

Continue your learning journey with these handpicked projects that share similar concepts and technologies

Weight Converter project preview
HTMLCSSJavaScript

Weight Converter

In this project, we’re going to build a practical weight converter using HTML, CSS, and JavaScript. You’ll see how to convert a value and keep the result easy to understand. Along the way, you’ll practice setTimeout, input events, DOM selection, so you can understand how the interface and JavaScript logic work together.

View project
Rock Paper Scissors Game project preview
HTMLCSSJavaScript

Rock Paper Scissors Game

In this project, we’re going to build a practical rock paper scissors game using HTML, CSS, and JavaScript. You’ll see how to handle player interactions, calculate the result, and update the score. Along the way, you’ll practice click events, DOM selection, DOM content updates, so you can understand how the interface and JavaScript logic work together.

View project
Age Calculator project preview
HTMLCSSJavaScript

Age Calculator

In this project, we’re going to build a practical age calculator using HTML, CSS, and JavaScript. You’ll see how to take user input, perform a calculation, and display a clear result. Along the way, you’ll practice click events, DOM selection, DOM content updates, so you can understand how the interface and JavaScript logic work together.

View project
{ }View All Projects