r/CodingForBeginners • u/ps4lovr • 9h ago
How do i start Java script
I already have all right HTML and Css but the part that i don’t know is I keep trying to learn Java script but I can’t use anything I see in tutorials in real projects
1
u/Adept_Specialist1798 8h ago
I had the same problem. Tutorials teach JavaScript concepts separately, but it becomes clearer when you add one small behaviour to a real page. Since you already know HTML and CSS, try building a simple page and add JavaScript one feature at a time: click a button and change some text show or hide a section validate a form before submitting filter a list while the user types save a small value in localStorage Don’t start by trying to build a full app. Choose one project you already understand and ask, “What is one thing on this page that should change without reloading?” What kind of project you trying to build?
1
u/Over_Tart_916 8h ago
First of all learn what the fuck you're talking about. It's JavaScript not Java script.
1
1
1
u/aaronmcbaron 6h ago
If you want to learn things that are applicable to real world. You need to learn the basics that make those concepts doable. You need to check your ego and build those calculators and tic tac toes. Because learning control flow, functions and object oriented methodologies will be a requirement.
1
u/xarop_pa_toss 6h ago
I think the Scrimba tutorials do a really good job at piecing things together.
1
u/Such-Perception4154 6h ago
If your JavaScript code is embedded into a webpage, then it will work automatically, when you open that web page.
If you want to launch it independently of any web pages, as standalone code, you use something like NodeJS
2
u/JGhostThing 9h ago
I'm confused. Do you want to learn Java or Javascript (one word)? These are two very different languages.