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

Sticky NavbarHTML, CSS & JavaScript Project

Sticky Navbar project preview

Project Description

In the project, our aim is to design a sticky navbar that alters its color as we scroll down the webpage. The final version of the project will feature an image in the background of the main section, with a navbar at the top displaying a logo and menu. As we scroll down, we will come across some Lorem ipsum-style text. As we continue to scroll, the navbar's color will change to black. To accomplish this, we will utilize JavaScript to calculate a specific point that has not been reached and add or remove classes to achieve different styles for the navbar.

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

Pomodoro Timer project preview
New

Pomodoro Timer

The objective of this project is to design a Pomodoro timer that features a countdown clock and three functional buttons, namely start, stop, and reset. Upon clicking the start button, the timer will commence counting down from 25 minutes. Should one desire to halt the countdown, the stop button can be pressed. The countdown can be resumed by hitting the start button, and by clicking on the reset button, the timer will reset to 25 mins again. An alert will notify the user when the timer reaches zero. This Pomodoro timer is an ideal tool for individuals seeking to focus on a task for a set amount of time, followed by a break. By implementing this technique, productivity and time management skills can be improved. To create this timer, one must initially grasp the principles of CSS for styling purposes. Next, event listeners will be added to the buttons using JavaScript. Finally, a timer will be established using the SetInterval function in JavaScript.

HTMLCSSJavaScript
View Project
Rock Paper Scissors Game project preview

Rock Paper Scissors Game

In this project, we create a rock, paper, and scissors game. The computer will also choose a random option, and the results will be displayed. You can win, lose, or tie. Scores are tracked at the bottom. We'll use HTML for structure, CSS for a modern look, and JavaScript to generate the computer's choice and compare the results. This game is an interactive way to test your luck and strategy against a computer opponent.

HTMLCSSJavaScript
View Project
Weight Converter project preview
New

Weight Converter

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.

HTMLCSSJavaScript
View Project
View All Projects