JS
100
Projects.com
HomeAbout
All Projects
JS
100

Projects

.com

Elevate your web development skills with our comprehensive collection of 100+ interactive JavaScript projects. From beginner-friendly tutorials to advanced challenges.

100+
Projects
75K+
Developers
Free
Forever

Quick Links

HomeAll ProjectsAboutContact

Connect

GitHub
View source code
Buy me a coffee
Support the project

© 2025 100 JS Projects. Crafted with ❤️ for developers worldwide.

PrivacyTermsCookiesContact
Project Details

Weight ConverterHTML, CSS & JavaScript Project

Weight Converter project preview

Project Description

Let's create a weight converter project that converts pounds to kilograms. The webpage features an input field where users can enter a weight in pounds, and the webpage automatically displays the equivalent weight in kilograms. After 10 seconds, the result is removed, and the input field is emptied using the 'set time out' method. We've also incorporated an error handling feature to handle negative input numbers. If the user enters a negative number, the webpage displays an error message, "Please enter a valid number." We'll learn how to handle error situations and remove the error message after two seconds using an event listener for the input field. The event listener will call a function that performs the desired actions.

Technologies Used

HTML5CSS3JavaScript

Live Demo

Experience the project in action with our interactive live demo.

View Live Demo

Source Code

Explore the complete source code and learn how it's built.

View on GitHub
Related Projects

Explore Similar Projects

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

Age Calculator project preview
New

Age Calculator

In this project, we are going to create an age calculator. As you can see from the final version of the project, we have a container here with the title age calculator with an input of a date. If we click on the date input, we can choose the date of our birthday. For example, if we choose a date in in 2022 and if we click now on Calculate Age, you can see the age is calculated based on this date and saying your age is 21 years old.

HTMLCSSJavaScript
View Project
Testimonial Slider project preview
Popular

Testimonial Slider

In this project, you will learn how to build a testimonial slider using HTML, CSS and JavaScript. We use a timer to change the sliders automatically and also we have added a bountiful animation showing the slides.

HTMLCSSJavaScript
View Project
Dice Roll Simulator project preview
Featured

Dice Roll Simulator

Welcome to the Dice Roll Simulator project. The final version of the project features a dice at the center of the screen and a "Roll dice" button. The button triggers an animation and generates a random number, which is displayed in the center of the dice when clicked, t. Additionally, the number is added to a history list. To achieve this, we used modern CSS to style the dice and added a JavaScript event listener to the button. The listener generates a random number, saves it to an array, and updates the history list.

HTMLCSSJavaScript
View Project
View All Projects