Learn Programming through JavaScript
JavaScript
Knowing the fundamentals of programming
Watch Introduction to Programming and Computer Science from freeCodeCamp.org or learn about the fundamentals of programming through articles on the internet. This way, learning JavaScript is easy.
JavaScript or any other programming language is a matter of syntax. The fundamental principles are more or less the same, like variables, functions, and if-else statements. The fundamental principles of human languages are also the same. Human languages have similarities, like the word has no connection with the real thing (for example, the word "chair" has no connection with the physical form of a chair). Programming languages also share common principles among them.
Exploring JavaScript
If you want to explore JavaScript and know how to use it, read lots of code through public repositories and write lots of code.
Why do you need to read code?
- When you work in a company, you need to read code through an existing codebase.
- Reading other people's code helps you to know bad and good code.
- Your job as a new developer may only add new features on top of the existing codebase. Reading lots of code helps you get to work faster because you are used to doing that.
- You learn something valuable that does not exist in tutorials.
- You may decide to contribute to open source projects to improve the existing programs.
How do you read code? Act as if you are a computer. This means you pretend that you are a machine that executes the code. Then, back to being a human again and ask yourself: how do I improve this?
Using JavaScript with care
Do not use your JavaScript skills to destroy the web. How I experience the web today includes some of the nasty features that you can make using JavaScript.
Use JavaScript to enhance the web.
Next lesson