As a beginner, you might find it tricky and easier to solve a problem by browsing various boards and forums and eventually come to the solution by pasting, running, discarding…
It might help you initially but you do not learn to code independently. So, take a proper channel to learn in order to not have problems at advanced levels.
It is really important to learn the basic to get your hands on the short projects and advanced projects later on. While there might seem no difference between two different variables while coding, there actually is.
For example, you should declare the variable with keyword var. You can even create a variable without using the keyword but then, you get a global variable. And in a particular program, that might not be what you actually want to create.
Getting your hand on a big project during learning phase can put you in no-logic logic situations.
While computing complex algorithms, you might miss the logic as the syntax gets complex. At times, it is difficult to even get your own logic once mixed up with syntax.
Therefore, it is better to use plain text so you do not miss on the actual logic.
Online learning sources such as Pluralsight and Udacity are of great help.
We recommend signing up for Pluralsight as it delivers what you pay for.