Great JavaScript projects for beginners include a counter, a to-do list, a quiz app, a tip calculator and a digital clock. Intermediate projects add APIs and storage: a weather app, a movie search app and an expense tracker. Advanced projects include a real-time chat app, a kanban board with drag and drop, and a full-stack app with a Node.js back end. Build in order and publish each one to your portfolio.
Watching tutorials can make JavaScript feel easy — until you open a blank file and try to build something on your own. That gap between following along and building independently is where real learning happens, and projects are the best way to cross it.
The projects in this guide are ordered by difficulty, and each one teaches a specific skill. Build them in order, add your own twist, and you will finish with a portfolio that shows real ability.
Beginner JavaScript projects
| # | Project | Skills |
|---|---|---|
| 1 | Counter | DOM selection, events |
| 2 | Digital clock | Dates, setInterval |
| 3 | Tip calculator | Forms, numbers, validation |
| 4 | To-do list | Arrays, creating elements, localStorage |
| 5 | Quiz app | Objects, conditionals, scoring |
| 6 | Random quote generator | Arrays, random numbers |
| 7 | Password generator | Strings, loops, clipboard API |

Intermediate projects
| # | Project | Skills |
|---|---|---|
| 8 | Weather app | fetch, async/await, public APIs |
| 9 | Movie search | API queries, rendering lists, debouncing |
| 10 | Expense tracker | Data modelling, totals, localStorage |
| 11 | Image slider | Accessibility, keyboard controls |
| 12 | Form validator | Regular expressions, error states |
| 13 | Memory card game | Game state, timers |
| 14 | Markdown previewer | Input events, libraries |
Advanced projects
| # | Project | Skills |
|---|---|---|
| 15 | Kanban board | Drag and drop, state management |
| 16 | Real-time chat | WebSockets, Node.js |
| 17 | E-commerce cart | Modules, persistence, checkout flow |
| 18 | Browser game with canvas | Canvas API, game loops |
| 19 | Progressive web app | Service workers, offline caching |
| 20 | Full-stack notes app | REST API, database, authentication |

Example: a simple counter
<button id="add">Add one</button>
<p>Count: <output id="count">0</output></p>
<script>
const output = document.querySelector("#count");
let count = 0;
document.querySelector("#add").addEventListener("click", () => {
count += 1;
output.textContent = count;
});
</script>
Tips for learning through projects
- Build without a tutorial after watching oneRecreate it from memory, then extend it.
- Add one new feature each timeFilters, dark mode, storage or animations.
- Use GitCommit progress and push to GitHub.
- DeployNetlify, Vercel, Cloudflare Pages or GitHub Pages.
- Write a short READMEExplain what it does and what you learned.
Tip: AI coding assistants can explain errors and suggest fixes, but write the core logic yourself first — that is where the learning happens.
How to approach each project
- Write the features firstA short list of what the project must do.
- Sketch the interfaceOn paper, in two minutes.
- Build the HTML structureBefore any JavaScript.
- Add one feature at a timeTest after each change.
- Handle errorsEmpty inputs, failed API calls and edge cases.
- Polish and publishStyling, accessibility, README and a live demo link.

Make projects portfolio-ready
- Responsive on phones and desktops.
- Keyboard accessible with visible focus states.
- Clear README with screenshots and how to run it.
- Clean, commented code in a public GitHub repository.
- One feature that goes beyond the tutorial version.
When you get stuck
- Read the error message carefully and search for its exact text.
- Use
console.logto check values step by step. - Explain the problem out loud (rubber-duck debugging).
- Ask an AI assistant to explain the error — then fix it yourself.
- Take a short break; fresh eyes solve many bugs.
Next: JavaScript frameworks, React projects and how to use Git.
Frequently asked questions
What is a good first JavaScript project?
A counter, to-do list or tip calculator teaches DOM manipulation and events with little code.
How many projects do I need for a portfolio?
Three to six polished projects that show different skills are usually more impressive than many small demos.
Should I learn a framework before building projects?
No. Build several vanilla JavaScript projects first, then learn a framework like React or Vue.
Where can I find free APIs for projects?
Public APIs for weather, films, books and countries are widely available; check each API’s terms and rate limits.
Should I use frameworks for these projects?
Build the beginner and intermediate projects in plain JavaScript first. Rebuild one or two in React or Vue later to compare.
How long should each project take?
Beginner projects may take an evening; intermediate projects a few days; advanced projects one to several weeks.
Can I copy project code from tutorials?
Use tutorials to learn, then rebuild from scratch and add your own features. Copied projects teach less and impress employers less.
Further reading: MDN’s web development learning area.







