DEV Community

Discussion on: How can I understand JS?

Collapse
 
sjellen profile image
SJellen

For where you are you need to bridge your html/css knowledge with learning js. You can learn js in a vacuum and then not even know how to add it to a website.

I would suggest doing Frontend mentor challenges.
Find one that is novice that has a drop down menu and make the drop down with js. Slowly work your way up.

May I ask a question that may sound harsh?
Do you know how to link a js file to a html file?

I spent a while learning js and when it came time to make a site I was miffed at how to.

You really only learn by doing. The rest is abstract.

Collapse
 
bebezi profile image
Bebe Zi

Okai thanks! I will deffs check out and start working through those challenges!

Yes! I use VSC and I know how to link CSSand JS files to an HTML file.
Thanks for the tips

Collapse
 
sjellen profile image
SJellen

You really need bite size things like nav, increment, form validation, etc but as website elements to cement what your learning.

Keep at it. I’ve been there.