Create an Autoplay Carousel using HTML CSS and JavaScript Last Updated : 23 Aug, 2024 Comments Improve Suggest changes Like Article Like Report An Autoplay Carousel is a dynamic UI element that automatically cycles through a series of images or content slides, providing a visually engaging way to display information. It enhances user experience by showcasing multiple items in a limited space without manual navigation. This can be implemented using HTML, CSS, and JavaScript.Prerequisites:HTMLCSSJavaScriptApproachHTML Structure: The HTML structure consists of a .carousel container holding .carousel-item elements, each containing a background image.CSS - Carousel Container: The .carousel is styled with a fixed size and overflow: hidden, positioning child items for sliding functionality.CSS - Slide Positioning: The .carousel-item elements are absolutely positioned outside the view (left: 100%) and slide into view when activated.CSS - Active Slide Transition: The .carousel-item.active moves into view (left: 0) with a smooth 0.3s transition, enabling seamless slide transitions.JavaScript - Initial Slide Activation: The first slide is initialized as active using addActive(slides[0]), making it visible when the page initially loads.JavaScript - Automatic Slide Cycling: The setInterval function cycles through slides every 1.5 seconds, removing active from the current slide and activating the next.Example: This example describes the basic implementation of the the autoplay carousel using HTML, CSS, and JavaScript. HTML <!DOCTYPE html> <html> <head> <title>Autoplay Carousel</title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="carousel"> <div class="carousel-item"> <div class="slide-image" style="background-image: url('https://media.geeksforgeeks.org/img-practice/banner/mern-full-stack-development-classroom-thumbnail.png?v=19625');"> </div> </div> <div class="carousel-item"> <div class="slide-image" style="background-image: url('https://media.geeksforgeeks.org/img-practice/banner/dsa-to-development-coding-guide-thumbnail.png?v=19625');"> </div> </div> <div class="carousel-item"> <div class="slide-image" style="background-image: url('https://media.geeksforgeeks.org/img-practice/banner/geeks-classes-live-thumbnail.png?v=19625');"> </div> </div> <div class="carousel-item"> <div class="slide-image" style="background-image: url('https://media.geeksforgeeks.org/img-practice/banner/gate-crash-course-2024-thumbnail.png?v=19625');"> </div> </div> </div> <script src="./script.js"></script> </body> </html> CSS * { box-sizing: border-box; } body { display: flex; justify-content: center; align-items: center; } .carousel { position: relative; width: 270px; height: 160px; overflow: hidden; background-color: #cdcdcd; } .carousel-item .slide-image { width: 270px; height: 160px; background-size: cover; background-repeat: no-repeat; } .carousel-item { position: absolute; width: 100%; height: 270px; border: none; top: 0; left: 100%; } .carousel-item.active { left: 0; transition: all 0.3s ease-out; } .carousel-item div { height: 100%; } .red { background-color: red; } .green { background-color: green; } .yellow { background-color: yellow; } .violet { background-color: violet; } JavaScript window.onload = function () { let slides = document.getElementsByClassName('carousel-item'); function addActive(slide) { slide.classList.add('active'); } function removeActive(slide) { slide.classList.remove('active'); } addActive(slides[0]); setInterval(function () { for (let i = 0; i < slides.length; i++) { if (i + 1 == slides.length) { addActive(slides[0]); setTimeout(removeActive, 350, slides[i]); break; } if (slides[i].classList.contains('active')) { setTimeout(removeActive, 350, slides[i]); addActive(slides[i + 1]); break; } } }, 1500); }; Output: Comment More infoAdvertise with us Next Article How to create image slider using HTML CSS and JavaScript ? lunatic1 Follow Improve Article Tags : JavaScript Web Technologies Geeks Premier League JavaScript-Projects Geeks Premier League 2023 +1 More Similar Reads JS Projects: User Interface ComponentsPrice Range Slider with Min-Max Input using HTML CSS and JavaScriptIn this article, we are going to implement Price Range Slider using HTML, CSS, & JavaScript. Here, The user can move the meter on a price range slider to choose the suitable price range. To choose the right price range, the user can use a slider or input the minimum and maximum price values. We 5 min read Create a Button Loading Animation in HTML CSS & JavaScriptA "Button Loading Animation" in HTML, CSS, and JavaScript is a user interface element that temporarily transforms a button into a loading state with a spinner or animation to indicate ongoing processing or data retrieval, providing feedback to users during asynchronous tasks.Approach:HTML page with 2 min read How to make a Toast Notification in HTML CSS and JavaScript ?A Toast Notification is a small, non-intrusive popup message that briefly appears on the screen to provide feedback or updates. It features 4 distinct toast types triggered by buttons: "Submit" for a green "Success" toast, each with unique CSS animations. JavaScript manages their display duration. T 4 min read Create a Pagination using HTML CSS and JavaScriptIn this article, we will create a working pagination using HTML, CSS, and JavaScript. Pagination, a widely employed user interface pattern, serves the purpose of dividing extensive data or content into more manageable portions. It allows users the ability to effortleÂssly navigate through numerou 5 min read How to create Popup Box using HTML CSS and JavaScript?Creating a popup box with HTML, CSS, and JavaScript improves user interaction on a website. A responsive popup appears when a button is clicked, featuring an HTML structure, CSS for styling, and JavaScript functions to manage visibility.ApproachCreate the Popup structure using HTML tags, Some tags a 3 min read How to create multi step progress bar using Bootstrap ?In this article, we will create a multi-step progress bar using Bootstrap. In addition to Bootstrap, we will use jQuery for DOM manipulation. Progress bars are used to visualize the quantity of work that's been completed. The strength of the progress bar indicates the progress of the work. It is gen 4 min read How to make Animated Click Effect using HTML CSS and JavaScript ?In this article, we will see how to make an Animated Click Effect using HTML CSS, and JavaScript. We generally see animations on modern websites that are smooth and give users a good experience. Here, we will see when the user clicks on the button only then some animation would appear. The animation 3 min read Design a Letter Hover Effect using HTML CSS and JavaScriptIn this article, we will learn to implement the bouncing letter hover effect using simple HTML, CSS, and JavaScript. HTML is used to create the structure of the page, CSS is used to set the styling and JavaScript is used for animation. Approach to Create the Bouncing Letter Hover EffectHTML Code: To 2 min read Design a Nested Chat Comments using HTML CSS and JavaScriptIn this article, we will learn how to create Nested Comments using JavaScript. We must have seen it on social media like Facebook, Instagram, Youtube, Twitter, etc. We have seen the use of the nested comment in the comment section of these social sites.Approach:Create a folder nested-comments on you 2 min read Create OTP Input Field using HTML CSS and JavaScriptWe will build an OTP (One-Time Password) input box, which is commonly used on many websites. This interactive and engaging UI element allows users to enter their OTP conveniently and efficiently. We will walk through the step-by-step process of creating this functionality using HTML, CSS, and JavaSc 3 min read How to Align Social Media Icons Vertically on Left Side using HTML CSS & JavaScript?In this article, we will learn how to create vertically aligned social media icons on the left side of a webpage using HTML, CSS, and JavaScript. We will use HTML to create the basic structure, CSS for styling, and JavaScript for added functionality.PrerequisitesHTMLCSSJavaScriptApproachWe are using 4 min read Create an Autoplay Carousel using HTML CSS and JavaScriptAn Autoplay Carousel is a dynamic UI element that automatically cycles through a series of images or content slides, providing a visually engaging way to display information. It enhances user experience by showcasing multiple items in a limited space without manual navigation. This can be implemente 2 min read How to create image slider using HTML CSS and JavaScript ?An image slide, or slideshow, is a dynamic display of images that automatically transitions from one to the next, often with animations. To create an image slide, use HTML to structure the images, CSS for styling and animations, and JavaScript to control the timing and transitions between images.App 3 min read JS Projects: Calculators and ConvertersCreate Aspect Ratio Calculator using HTML CSS and JavaScriptIn this article, we are going to implement an aspect ratio calculator. An aspect ratio calculator proves to be a useful tool for individuals seeking to determine the proportions of images or videos based on their width and height. Our aspect ratio calculator has a live preview option that enables us 5 min read Age Calculator Design using HTML CSS and JavaScriptIn the Age Calculator, the user enters their date of birth using a date input field. The tool calculates and displays the exact age in years, months, and days from the current date (or a specified date). We'll design the layout using HTML and CSS, and add functionality using JavaScript. It will also 3 min read Create a Length Converter using HTML CSS and JavaScriptIn this article, we will learn how to create a length converter using HTML, CSS, and JavaScript. The Length Converter is an intuitive web-based application that eliminates the complexities associated with manual conversions. Its user-friendly interface allows users to input a numerical value and sel 6 min read Temperature Converter using HTML CSS and JavaScriptIn this article, we will see Temperature Conversion between Celsius, Fahrenheit & Kelvin using HTML CSS & JavaScript. The Temperature is generally measured in terms of unit degree., i.e. in degrees centigrade, in degrees, Fahrenheit & Kelvin. Celsius is a standard unit of temperature on 3 min read Design a Number System Converter in JavaScriptA Number System Converter is one that can be used to convert a number from one type to another type namely Decimals, Binary, Octal, and Hexadecimal.In this article, we will demonstrate the making of a number system calculator using JavaScript. It will have the option to select the number type for in 3 min read Design a Tip Calculator using HTML, CSS and JavaScriptThe tip is the money given as a gift for good service to the person who serves you in a restaurant. In this project, a simple tip calculator is made that takes the billing amount, type of service, and the number of persons as input. As per the three inputs, it generates a tip for the serving person. 4 min read Design a Loan Calculator using JavaScriptThe Loan Calculator can be used to calculate the monthly EMI of the loan by taking the total amount, months to repay, and the rate of interest.Formula Used:interest = (amount * (rate * 0.01))/months;total = ((amount/months) + interest);ApproachExtract values from HTML input elements (#amount, #rate, 2 min read Design a BMI Calculator using JavaScriptA BMI (Body Mass Index) Calculator measures body fat based on weight and height, providing a numerical value to categorize individuals as underweight, normal weight, overweight, or obese. Itâs widely used to assess health risks and guide lifestyle or medical decisions.A BMI Calculator using JavaScri 3 min read Percentage calculator using HTML CSS and JavaScriptThe percentage calculator is useful for students, shopkeepers, and for solving basic mathematical problems related to percentages. In this article, we are going to learn, how to make a percentage calculator using HTML CSS, and JavaScriptFormula used:What is X percent of Y is given by the formula: X 3 min read How to Create a Binary Calculator using HTML, CSS and JavaScript ?HTML or HyperText Markup Language along with CSS (Cascading Stylesheet) and JavaScript can be used to develop interactive user applications that can perform certain functionalities. Similarly, a binary calculator can be developed using HTML, CSS, and JS altogether. Binary Calculator performs arithme 5 min read JS Projects: GamesRock Paper and Scissor Game using JavaScriptRock, paper, and scissors game is a simple fun game in which both players have to make a rock, paper, or scissors. It has only two possible outcomes a draw or a win for one player and a loss for the other player. Prerequisites:HTMLCSSJavaScriptApproachStart by creating the HTML structure for your Ro 5 min read Simple Tic-Tac-Toe Game using JavaScriptThis is a simple and interactive Tic Tac Toe game built using HTML, CSS, and JavaScript. Players take turns to mark X and O on the grid, with automatic win detection and the option to reset or start a new game.What Weâre Going to CreatePlayers take turns marking X and O on a 3x3 grid, with real-time 6 min read Simple HTML CSS and JavaScript GameTap-the-Geek is a simple game, in which the player has to tap the moving GeeksForGeeks logo as many times as possible to increase their score. It has three levels easy, medium, and hard. The speed of the circle will be increased from level easy to hard. I bet, it is very difficult for the players to 4 min read Design Hit the Mouse Game using HTML, CSS and Vanilla JavascriptIn this article, we are going to create a game in which a mouse comes out from the holes, and we hit the mouse with a hammer to gain points. It is designed using HTML, CSS & Vanilla JavaScript.HTML Code:First, we create an HTML file (index.html).Now, after creating the HTML file, we are going to 5 min read Crack-The-Code Game using JavaScriptIt is quite easy to develop with some simple mathematics. A player has to guess the 3 numbers in order to win this game by using 5 simple hints. This is going to be a very interesting game. This game is built using simple mathematics in JavaScript.Prerequisites: Basic knowledge of some front-end tec 5 min read Design Dragon's World Game using HTML CSS and JavaScriptProject Introduction: "Dragon's World" is a game in which one dragon tries to save itself from the other dragon by jumping over the dragon which comes in its way. The score is updated when one dragon saves himself from the other dragon. The project will contain HTML, CSS and JavaScript files. The H 6 min read Word Guessing Game using HTML CSS and JavaScriptIn this article, we will see how can we implement a word-guessing game with the help of HTML, CSS, and JavaScript. Here, we have provided a hint key & corresponding total number of gaps/spaces depending upon the length of the word and accept only a single letter as an input for each time. If it 4 min read Word Scramble Game using JavaScriptThis article will demonstrate the creation of a Word Scramble Game using JavaScript. Word Scramble Game is a simple quiz game based on the rearrangement of letter to make a random word and the user have to guess the correct word out of it with the help of provided hint. If the user is able to guess 3 min read JS Projects: Productivity ToolsHow To Build Notes App Using Html CSS JavaScript?In this article, we are going to learn how to make a Notes App using HTML, CSS, and JavaScript. This project will help you improve your practical knowledge in HTML, CSS, and JavaScript. In this notes app, we can save the notes as titles and descriptions in the local storage, so the notes will stay t 4 min read Task Scheduler Using HTML, CSS and JSIn this article, we will create a Task Scheduler web application using HTML, CSS and JavaScript. This is an application which can store tasks provided by user and classified them as low priority, middle priority, and high priority. User also can provide a deadline for the task. User also can mark do 3 min read Build an Expense Tracker with HTML CSS and JavaScriptManaging personal finances is essential for maintaining a healthy financial life. One effective way to achieve this is by keeping track of expenses. In this article, we'll learn how to create a simple expense tracker using HTML, CSS, and JavaScript. By the end, you'll have a functional web applicati 4 min read Create a Sortable and Filterable Table using JavaScriptIn this article, we will demonstrate how to create a sortable and filtrable table using JavaScript. This custom table will have the functionality of editing or removing individual items along with sorting and filtering items according to different fields. Also, a form is attached so that the user ca 6 min read Dynamic Resume Creator using HTML CSS and JavaScriptCreating a well-structured and professional resume can be time-consuming and difficult for many job seekers. Challenges like formatting, organizing details, and making the resume stand out are common. To solve this issue, a Resume Creator project was developed to simplify the process by offering an 5 min read Create a Quiz App with Timer using HTML CSS and JavaScriptCreating a quiz app is an excellent way to learn the fundamentals of web development. In this tutorial, we will build a Quiz App that features a timer, allowing users to take a timed quiz with multiple-choice questions. The app will use HTML for the structure, CSS for styling, and JavaScript for fun 8 min read How to Create Stopwatch using HTML CSS and JavaScript ?In this article, we will learn How to create a Stopwatch using HTML CSS, and JavaScript. The StopWatch will have the Start, Stop, and Reset functionality.Prerequisites:HTML CSS JavaScriptApproach:Create one container in which all the elements are present.Inside this container add 2 divs that contain 3 min read JS Projects: Data Management and UtilitiesCreate a Data Export and Import using HTML CSS and JavaScriptIn this article, we are going to implement a Data Export and Import Project using HTML CSS & JavaScript. The application we are going to create will allow the user to export their data to a CSV file effortlessly and then import data back from CSV files. Whether you're managing lists or working w 3 min read Employee Database Management System using HTML CSS and JavaScriptIn this article, we will be building an employee database management system using JavaScript.Employee Database Management System is the collection of Employees' data like names, first and last, email, contact numbers, salary and date of birth, etc. It provides an easy way to access and manage the li 7 min read Create a Prime Number Finder using HTML CSS and JavaScriptIn this article, we will see how to create a Prime Number Finder using HTML, CSS, and JavaScript. The main objective of this project is to allow users to input a number and check if it is a prime number or not. Prime numbers are those, that can only be divided by 1 and themselves. We'll develop a ba 3 min read Create an Anagram Checker App using HTML CSS and JavaScriptIn this article, we will see how to create a web application that can verify if two input words are Anagrams or not, along with understanding the basic implementation through the illustration. An Anagram refers to a word or phrase that's created by rearranging the letters of another word or phrase u 3 min read Anagram Count using HTML CSS and JavaScriptIn this article, we will create an Anagram Counting app using HTML, CSS, and JavaScript. Anagrams are the words of rearranged characters or letters in random order. These words contain the same letters. These rearranged words on sorting result in the same words with the same letters used. Consider 3 min read Create a Password Strength Checker using HTML CSS and JavaScriptThis project aims to create a password strength checker using HTML, CSS, and JavaScript that is going to be responsible for checking the strength of a password for the user's understanding of their password strength by considering the length of the password which will be that the password should con 2 min read Build a Password Generator App with HTML CSS and JavaScriptIn this article, we will build a password generator application using HTML, CSS, and JavaScript. This application will generate strong and secure passwords based on user preferences, such as password length and character types. It aims to provide a convenient tool for users to generate random passwo 3 min read Create a Sortable and Filterable Table using JavaScriptIn this article, we will demonstrate how to create a sortable and filtrable table using JavaScript. This custom table will have the functionality of editing or removing individual items along with sorting and filtering items according to different fields. Also, a form is attached so that the user ca 6 min read JS Projects: Web and Landing PagesCreate a Bookmark Landing Page using HTML CSS and JavaScriptIn this article, we are going to implement a Bookmark Landing Page using HTML, CSS, and JavaScript. Users can effortlessly add, manage, and remove bookmarks, resulting in a tidy digital library for their favorite websites. Bookmarking the Landing Page refers to a web page or website where the users 4 min read How to create a Landing page using HTML CSS and JavaScript ?A landing page, also referred to as a lead capture page, static page, or destination page, serves a specific purpose and typically appears as a result of online advertising or search engine optimization efforts. Unlike a homepage, a landing page is stripped of distractions and focuses on capturing v 7 min read How to make own Linktree using HTML, CSS and JavaScript ?Linktree is a tool that permits you to share multiple hyperlinks of various social media into one site. It gained popularity on Instagram, as Instagram does not allow you to share web links anywhere other than Stories and the 'bio' section of your profile page, which has a strict character limit. In 5 min read Create a Responsive Admin Dashboard using HTML CSS and JavaScriptAn Admin Panel typically has several sections that enable the administrator to manage and control various activities on a website. The layout usually consists of a header and a sidebarnavigation bar, which allows the admin to easily navigate between the various sections of the panel. In the header, 9 min read JS Projects: Visualizers and EffectsCreate a Stack Visualizer using HTML CSS and JavascriptIn this article, we will see how to create a stack visualizer using HTML, CSS & Javascript, along with understanding its implementation through the illustration.Stack is a well-known linear data structure that may follow the order LIFO(Last In First Out) or FILO(First In Last Out). There are man 9 min read How to Design a Simple Calendar using JavaScript?A calendar helps organize days, weeks, and months to track dates easily. Using JavaScript, we can create a simple calendar by dynamically generating the days of a chosen month, displaying the current date, and allowing users to navigate between months and select specific days with interactive highli 5 min read Create an Analog Clock using HTML, CSS and JavaScriptDesigning an analog clock is an excellent project to enhance your web development skills. This tutorial will guide you through creating a functional analog clock that displays the current time using HTML, CSS, and JavaScript.What Weâre Going to CreateWe will develop a simple analog clock that shows 5 min read How to Design Digital Clock using JavaScript?Clocks are useful elements for any UI if used in a proper way. Clocks can be used on sites where time is the main concern like some booking sites or some apps showing arriving times of trains, buses, flights, etc. We will learn to make a digital clock using HTML, CSS, and JavaScript.ApproachCreate t 2 min read How to Create Image Gallery using JavaScript?An Image Gallery is a collection of images displayed in a grid or slideshow format on a webpage. To create an Image Gallery using JavaScript, you can dynamically load images, create HTML elements, and use CSS for styling. JavaScript can add interactivity, like transitions and navigation controls.Her 3 min read Creating a Simple Image Editor using JavaScriptIn this article, we will be creating a Simple Image Editor that can be used to adjust the image values like brightness, contrast, hue, saturation, grayscale, and sepia. Image editors allow one to quickly edit pictures after they have been captured for enhancing them or completely changing their look 10 min read How to randomly change image color using HTML CSS and JavaScript ?In this article, we will create a webpage where we can change image color randomly by clicking on the image using HTML, CSS, and JavaScript. The image color will change randomly using the JavaScript Math random() function.Approach:First of all select your image using HTML <img> tag.In JavaScri 2 min read Create your own Lorem ipsum using HTML CSS and JavaScriptIn this article, we are going to implement a Lorem Ipsum Generator Application through HTML, CSS, and JavaScript. Lorem Ipsum, a placeholder text commonly utilized in the printing and typesetting industry, serves to visually represent a document's layout instead of relying on meaningful content.Fina 5 min read Star Rating using HTML CSS and JavaScriptStar rating is a way to give a rating to the content to show its quality or performance in different fields. This article will demonstrate how to create a star rating project using JavaScript. Project Preview:PrerequisitesHTMLCSSJavaScriptStep-by-Step Guide to Building a Star Rating SystemCreate the 3 min read Design a Simple Counter Using HTML CSS and JavaScriptOver 70% of beginners start with interactive projects like counters to learn JavaScript. In this article, you'll create a simple counter app that lets users increase, decrease, and reset valuesâwhile also tracking clicks and resetting after a set limit.What we are going to createWe will build a simp 4 min read Design Background color changer using HTML CSS and JavaScriptBackground color changer is a project which enables to change the background color of web pages with ease. There are color boxes on a web page when the user clicks on any one of them, then the resultant color will appear in the background of the web page. It makes web pages look attractive.File stru 3 min read How to create Expanding Cards using HTML, CSS and Javascript ?Creating expanding cards using HTML, CSS, and JavaScript involves creating a set of cards that expand when clicked.ApproachSelection of Sections:The code starts by selecting all HTML elements with the class 'section' using the document.querySelectorAll('.section') method.This creates a NodeList cont 2 min read Design a Responsive Sliding Login & Registration Form using HTML CSS & JavaScriptIn this article, we will see how to create the Responsive Sliding Login & Registration Form using HTML CSS & JavaScript, along with understanding its implementation through the illustration.Many websites, nowadays, implement sliding login & registration forms for their sites. A Registrat 5 min read JS Projects: Search and API IntegrationHow to Create a GitHub Profile Search using HTML CSS and JavaScript ?In this article, we will be developing an interactive GitHub Profile Search application using HTML, CSS, and JavaScript Language. In this application, there is a search bar where users can enter the username that they want to view. After entering the username, an API call is been triggered, and the 4 min read Create a Wikipedia Search using HTML CSS and JavaScriptIn this article, we're going to create an application, for searching Wikipedia. Using HTML, CSS, and JavaScript, users will be able to search for articles on Wikipedia and view the results in a user interface. When the user inputs the search text into the textbox, the search result for the same will 3 min read How to create Sentence Translator using HTML, CSS, and JavaScript ?In this article, we are going to make a sentence translator app with the help of API using JavaScript.Basic setup: Open VS Code and open a folder from your drive where you want to create this project and give the name Translate-Sentence(folderName). After opening create the following files: index.ht 3 min read Search Bar using HTML CSS and JavaScriptEvery website needs a search bar through which a user can search the content of their concern on that page. We're going to learn how to create one using only HTML, CSS, and JavaScript. Instead of getting into complex algorithms for finding related content, we'll focus on a basic taskâsearching for s 3 min read JS Projects: Generators and ToolsHow to create Hex color generator using HTML CSS and JavaScript?Hex color codes are six-digit combinations representing the amount of red, green, and blue (RGB) in a color. These codes are essential in web design and development for specifying colors in HTML and CSS. The hex color generator provides the hex code for any selected color, making it a valuable tool 2 min read Create a Emoji Generator Using HTML CSS & JavaScriptWhile communicating with our friends, we always use the emoji to represent our feelings and emojis. There are many emojis that represent our emotions and feelings. As developers, we can generate a random emoji on every click of the button, and we can also copy that emoji and paste it into our chat b 7 min read Create an QR Code Generator Project using HTML CSS & JavaScriptToday, more than 75% of websites and apps use QR codes to share links, contact info, or event details quickly. Here, youâll learn how to make your own QR Code Generator using HTML, CSS, and JavaScript. Weâll guide you step by step, so even if youâre a beginner, you can follow along easily. By the en 3 min read Create a QR Code Scanner or Reader in HTML CSS & JavaScriptIn this article, we will see how we can implement a QR Code Scanner with the help of HTML CSS & JavaScript. A QR code scanner will provide the user with two options to scan the QR code either by uploading the image file of the URL to be scanned or by using the camera of your system to scan the Q 3 min read Create a Coin Flip using HTML, CSS & JavaScriptWe will display the styled INR coin to the user and there will be a styled button (Toss Coin). We will create the entire application structure using HTML and style the application with CSS classes and properties. Here, JavaScript will be used to manage the behavior of the Coin Flip and will be used 4 min read Create a Resize and Compress Images in HTML CSS & JavaScriptWhile using the GeeksforGeeks Write Portal to write articles, we need to upload the images. As we need to resize the image as per GeeksforGeeks's requirement, we search for different tools and websites on the internet to resize and compress the image. But, as a web developer, we can create our own i 7 min read JS Projects: MiscellaneousBuild a Spy Number Checker using HTML CSS and JavaScriptIn the realm of mathematics, Spy Numbers, also known as secretive numbers or cryptic numbers, possess a unique property. A spy number is defined as a number whose sum of digits is equal to the product of its digits. In this article, we will explore how to build a Spy Number Checker using HTML, CSS, 3 min read How to create Pay Role Management Webpage using HTML CSS JavaScript ?In this article, we are going to make a Pay Role Management webpage with Javascript. In this project, we are going to learn and clear the concepts of basic javascript.Prerequisites: The pre-requisites for this project are-ES6 JavaScriptQuery SelectorsApproach: To create our Pay Role Management webpa 6 min read How to make curved active tab in navigation menu using HTML CSS & JavaScript ?In this article, we will learn about the curved outside in the active tab used in the navigation menu using HTML, CSS & JavaScript. One of the most beautiful and good-looking designs of a navigation menu is the 'Curve outside in Active Tab' design. With the help of the CSS border-radius property 6 min read Implement Dark Mode in Websites Using HTML CSS & JavaScriptDark and light modes let users switch between a dark background with light text and a light background with dark text, making websites more comfortable and accessible based on their preferences or surroundings.What Weâre Going to CreateA button allows users to switch between dark and light themes dy 5 min read How to make Incremental and Decremental counter using HTML, CSS and JavaScript ?While visiting different shopping websites like Flipkart and Amazon you have seen a counter on each product, that counter is used to specify the quantity of that product. Hence, the counter is a very useful part of many websites. In this article, we will design a counter using HTML, CSS, and JavaScr 2 min read How to preview Image on click in Gallery View using HTML, CSS and JavaScript ?In this article, we see how easily we can create an Image Gallery with a preview feature using HTML, CSS, and some JavaScript.ApproachCreate a div with a class container.Create two more div inside the first div one for the main view and the other for the side view with classes main_view and side_vie 2 min read Multiplication Quiz Webapp using HTML CSS and JavaScriptIn this article, we will see how to create a multiplication quiz web app using HTML, CSS, and JavaScript.Description of Web App: In this web app, random questions come one by one based on basic multiplication. If you give a correct answer, then it will increment by +1, and if you give the wrong answ 3 min read Design a Student Grade Calculator using JavaScriptA Student Grade Calculator is a tool used to compute students' grades based on their scores in various assessments, such as assignments, quizzes, exams, or projects. It helps standardize grading, ensures accuracy, and provides students with a clear understanding of their academic performance.Formula 4 min read Word and Character Counter using HTML CSS and JavaScriptWord and Character Counter is a web application used to count words and characters in a textarea field. HTML, CSS, and JavaScript is used to design the Word and Character Counter. In the textarea field, the user can write anything and this application shows how many words are added by the user and h 4 min read Like