I have curated a list of 25+ javascript projects for beginners with source code. Feel free to play with these projects and improve your skills.
Full Project with Preview Available at : https://pratikpathak.com/top-javascript-projects-with-source-code-github/
Don’t forget to give a 🌟 to the repo
This is the replica of the original iOS calculator. It is built using HTML, CSS, and Javascript. This project contains the basic functionality of a calculator like Addition, Multiplication, Subtraction, and Division.
Live Preview | Source Code |
Technologies Used: JavaScript, HTML, CSS
Travel India is a Project which focuses on India’s top 4 most visited tourist places. This project has a very beautiful UI controlled by Javascript. The Navigation is done by using Javascript. It also has a very beautiful Navbar.
Live Preview | Source Code |
Age prediction app uses the machine learning model of opencv and tensorflow JS to predict the Age of a person using face recognition. It is solely built by using an open-source model of TFjs.
Live Preview | Source Code |
This is the clone of LinkTr.ee, those who don’t want to use LinkTr.ee can use this static application to share links with the audience. It is built using HTML, CSS, JS, and a little bit of node.js.
Live Preview | Source Code |
This Project tells you the weather of a city. You just need to type the name of the city and click on fetch and it will the weather of the city. For the weather, it utilizes OpenWeatherMap API.
Check out the full code on GitHub.
Live Preview | Source Code |
Want to add your Javascript Project? Feel free to contribute, open a Pull Request Contribute
Docker Run Command example the ultimate cheatsheet
This is a digital clock that shows the time along with the Date. It uses your system time to fetch the current time and displays it.
Live Preview | Source Code |
It is a simple application for mouse tracking. There is a dark web page with some text in it and wherever the mouse goes it illuminates its surrounding area. Beautifully built using Vanilla JS.
Live Preview | Source Code |
A Puzzle Game is a project that contains misplaced pieces of an image, You have to rearrange the missing pieces so that they become the same as the right side image.
Live Preview | Source Code |
A simple application to make QR code as well as it can read it, with a beautiful UI. Works on a local server. Created by Using QrCode.js package.
Live Preview | Source Code |
Have you ever used Microsoft Word? and wondered how you can make one? A rich text editor is a Word-like editor with contains a ribbon that has all the functionality like Bold, Italic, Text Formatting, etc.
Live Preview | Source Code |
Want to add your Javascript Project? Feel free to contribute, open a Pull Request Contribute
The Background of the application will change based on the user’s color selection. The user has two clicks on his desired color and the whole background color will change.
Live Preview | Source Code |
An Image Carousel made by using Javascript. It’s a simple application that shows all the images when the user clicks on the next button.
Live Preview | Source Code |
An analog clock that uses JavaScript and the Canvas Web API
Live Preview | Source Code |
A brick breaker game. Made by using canvas API.
Live Preview | Source Code |
Balloon Pop game. Move your mouse over the balloon to pop it. Pop all the balloons to finish the game.
Live Preview | Source Code |
Want to add your Javascript Project? Feel free to contribute, open a Pull Request Contribute
A simple web-based quiz about baby animal names. The HTML file sets up the structure of the quiz, including a container for the quiz, a heading, a section for the question, a list for multiple-choice answers, a message area, a result area, and a button to proceed to the next question.
Live Preview | Source Code |
A simple web-based arithmetic game, specifically designed for addition operations. The HTML file sets up the structure of the game, which includes a canvas area containing two numbers and an addition sign. The user is expected to input their guess for the sum of the two numbers in an input field. A button is provided to check the user’s answer.
Live Preview | Source Code |
This project is a number guessing game where the user attempts to guess a random number between 1 and 100 within 10 tries. The game’s interface, styled with CSS and powered by JavaScript, provides feedback on previous guesses and the number of remaining attempts.
Live Preview | Source Code |
This project is a simple RSS News Feed reader. The HTML file sets up the structure of the application, which includes a heading with an RSS icon and a title that will display the name of the selected news source (defaulted to “PratikPathak.com”). There’s also a date section and a main content area where the news feed will be displayed in a list format.
Live Preview | Source Code |
This project is a simple Todo List application. The HTML file sets up the structure of the application, which includes a heading, an input field for entering tasks, and a button for adding tasks. There’s also a dedicated area where the tasks will be displayed.
Live Preview | Source Code |
Want to add your Javascript Project? Feel free to contribute, open a Pull Request Contribute
This project is a web-based game called “Whack-a-Mole”. The HTML structure includes a score display, a start button, and a game area with six “holes”, each containing a “mole”. The game’s visual styling is linked via a CSS file named “styles.css”, and the functionality is provided by a JavaScript file named “script.js”. The user is expected to “whack” the moles by clicking on them as they randomly appear from the holes.
Live Preview | Source Code |
This project is a simple web-based Word Length Calculator. The HTML file sets up the structure of the application, which includes a heading, an input field for entering a word, a display area for the output, and a button to trigger the calculation.
Live Preview | Source Code |
This project is a simple web-based Weight Conversion Tool. The HTML file sets up the structure of the application, which includes a form with a heading, an input field for entering a weight in pounds, and a display area for the converted weight in kilograms.
Live Preview | Source Code |
This project is a Budget App, a web-based application that allows users to manage their budget and expenses. The HTML structure includes sections for entering a budget, displaying the current budget, expenses, and balance, and entering expenses.
Live Preview | Source Code |
This project is a simple web-based “Quote of the Day” application. The HTML file sets up the structure of the application, which includes a heading, a paragraph instructing the user to press a button to receive a random quote, a button that triggers the quote generation, and two paragraphs where the quote and its author will be displayed.
Live Preview | Source Code |
![Random Quote javascript
This project is a simple web-based Coin Toss game. The HTML file sets up the structure of the game, which includes a title, a brief description, an image of a coin, and a button to toss the coin.
Live Preview | Source Code |
Want to add your Javascript Project? Feel free to contribute, open a Pull Request Contribute
This is the list of Updated 25+ Javascript Projects for beginners. Each and every project contains atleast three files index.html
, style.css
and script.js
. If you want to add your project, feel free to open a Pull Request on GitHub.