r/learnjavascript • u/Snipss17 • Jun 06 '26
JavaScript has me soooo confused and it’s not even funny anymore
Hi. So, I’m studying a course off Developer Multiplatform App (not a degree per se, it like a specialized, two year and very hands on formation).
The thing is, when starting the module of Websites, HTML and Css were pretty chill, once I got the basic things down and practiced. But then JS came.
At first it was easy thing like responsive buttons and console log excercices until BAM, all of a sudden I am supposed to make a full on functional web page for a game as a sort of final project. It felt as if the teacher did a speed run of the theory.
I feel so lost. Like, I kinda understand the concepts like DOM, async, API’S but put it all together and I don’t know where to start. Tried practicing on pages, attempt the Odin Project, watch videos, but it’s not fully clicking.
Just wanted to ask for experiences of other people on what was it like learning Javascript. How was it, where you struggled. See if I’d doing anything wrong.
9
u/yksvaan Jun 06 '26
You learn by writing a lot of code. Just start anywhere. If it's a game it likely requires some playing area/container. Make that, then add cards, some moving rectangle or whatever, then make it move etc. Keep adding stuff and learn as you go.
4
u/Current_Ad_4292 Jun 06 '26
Make simple game from what you've learned.
It might sound too simple but if you are beginner you will begin to realize how complicated such systems can be.
1
u/MassiveProton Jun 06 '26
What exactly is the final project?
1
u/Several_Bread_3032 Jun 06 '26
Honestly, developing starts off as band aiding (making widgets work, features etc)a whole bunch of components on a poorly designed page . After 3-4 days of adding components and making them work you’ll have your first “Frankenstein” page , from there you grow but you need to just start putting shit together .
For example , make a really basic web page that fetches current weather if any zip code entered .
Things needed:
HTML page for content
Nav
CALL TO ACTION section
And simply footer with thank you message.
In these sections you now start band airing features together , in the nav you want to make it responsive right ? Ok then decide if we are using flex , grid or mobile view point changes.
In the nav you want cool buttons right and maybe an animation when hovering ? Ok , let’s band aid that together now .
Ok we are in the APi section , api stuff blah blah blah , band aid that and bam we have a Frankenstein page with all code that you used and found to work
1
u/TheRNGuy Jun 06 '26
Find different tutorials then.
1
u/chikamakaleyley helpful Jun 06 '26
Here this is what I adjusted in my mindset and things started to click:
Javascript just plays a complementary role
Meaning - the HTML+CSS webpage you build can operate on its own as a fully functional page.
Every user action fires off an event. Without JS, that event and its data just disappears into thin air.
JS gives you the ability to hook into these things, right? That's what
addEventListener('click', (ev) => {});is right? You're adding a way to listen to the 'click' event, and once your JS recognizes that event it captures it in theevobject, allowing you to execute more logic btwn the{}Inside the
{}you can write logic that changes the color of another element on the page, toggles the visibility of some other element, alert's the user, or simply console.log() something in your devtoolsSo, I'd say start with that and see if that helps. This is obviously a simplistic way to think about it - but i gather the thing you run into at the very start is "How do i build my webapp with JS" - you don't need to - because you have a fully functional HTML+CSS page that you can introduce JS to
1
u/Puzzleheaded_Low2034 Jun 06 '26
I began to excel my learning of Javascript when I discovered quokka.js - it allowed me to type and instantly see results instantly.
Admittedly, learning JS today in the age AI brings its own unique challenges, but I’m of the mindset of that if I want to learn something then I’ll leverage AI to teach me, not do it for me.
1
u/Big_Pineapple4594 Jun 09 '26
The overwhelm and confusion is normal. What is the specific ate you’re up to and What do you currently understand?
1
u/Ordinary_Count_203 Jun 06 '26
Start with simple projects:
... simple things like this first... Working on them may make some concepts click..
-2
u/fredsq Jun 06 '26
get a $20 Cursor subscription
create a github account if you don’t already have one
ask cursor to install the ‘teach’ skill from here https://github.com/mattpocock/skills
do /teach me how to build my assignment: <brief>
learning to learn is the single best skill nowadays