r/learnprogramming • • 2d ago

Beginner Projects for javascript!!!!!

I just finished learning javascript so i want beginner-level projects to improve my skills and code without any help from AI. I have understood the topics but when it comes to actually coding i cant do shit so i need help!

5 Upvotes

14 comments sorted by

3

u/AdhesivenessFew8441 1d ago

The gap you describe is normal: understanding the topics and building from a blank file are two different skills, and the second one only comes from doing it. Projects in rising order, each one forcing a new concept: a tip calculator or unit converter (inputs, events, updating the DOM), a todo list saved in localStorage (arrays, rendering a list, persisting data), a quiz game with the questions in an array of objects (state, score, next and previous), a weather app using a free API like Open-Meteo (fetch, async/await, loading and error states), and an expense tracker with filters and totals (map, filter and reduce for real). A trick for when you freeze: before writing code, write the steps as plain comments (read the input, validate it, add it to the list, redraw the list) and then turn each comment into code. When stuck, look up that one function on MDN instead of searching for the whole solution. Being stuck for 20 minutes and getting out by yourself is exactly the practice you are after.

2

u/Small-Dig-8233 2d ago

begin with the humble calculator lol but try not to use the eval() function for it

2

u/Street-Peach-8460 1d ago

Tic Tac Toe vs the Computer. This took me down a rabbit hole and got me hooked

2

u/ybadev 1d ago

Try a live character counter. Start with a text box and make the number update as you type. Once that works, add a 280-character limit and turn the counter red when you go over.

1

u/aashutosh31 1d ago

Try a rock papers scissors game with reset score and autoplay feature included

1

u/Clippy_4060 1d ago

If you want graphics, theres something like p5.js or p5.play I believe? It pretty easy to use and integrated well for basics like variables, logic, etc

1

u/zaio_institute 1d ago

That gap between understanding JavaScript and actually building something is really normal. The only way through it is to start making small things without following a full tutorial. A few good beginner projects are a to-do list, calculator, quiz app, expense tracker, weather app using an API, or a simple notes app with localStorage.

The important part is to build them in stages. For example, with a to-do list, first just add items. Then delete them. Then mark them complete. Then save them so they’re still there after refreshing the page. If you get stuck, try to figure it out for a bit before searching. Look up the specific problem, not the whole project.

And if you want to avoid AI completely, that’s actually a good exercise for a while. Use MDN and documentation instead. It’ll feel slower, but that’s where the problem-solving starts to stick.

1

u/PumpkinHuge2779 1d ago

Try to develope one short ecommerce app. Where user can login, signup select items to buy, those items should get added in the cart, he can see his cart, total price. It will give you good insights of fronted, backend and database. If you only want to build project in the JavaScript, i will suggest don't waste your time on it. Vanilla JavaScript you should know, but basically you need to learn about React, and backend part. Projects are the things which help you to get command on the language. Ecommerce project, job search webapp, or online video streaming platforms are good for beginners. So choose accordingly.

1

u/BotSlamminDayNNight 21h ago

what's the most difficult implementation you're capable of without using ai ?

1

u/Dazzling_Music_2411 1d ago

[...] when it comes actually coding i cant do shit

Learn to "do shit" first - if you can't, there's no point suggesting anything, you won't be able to do it!

I would respectfully suggest that you have not really understood the topics if you cannot apply them.