Learn Javascript for beginners — Blog

Ravinder Negi
codebebo
Published in
3 min readJul 25, 2019

--

This article is for beginners who don’t have any programming background. I am writing steps that can be used to learn Javascript easily. It is not necessary that you possess a higher qualification. Below steps describe how easily can javascript be learned.

1. Know about Javascript

Learn Javascript for beginners

It is the first step in learning. First of all, we need to understand what javascript is all about. There are some basic questions that come to mind like who developed it, which are basic in javascript etc. Let me explain this in more detail.

Javascript is a scripting language that is used for web applications. It was developed by Brendan Eich in 1995. Now the advance javascript is ES9( ECMAScript 2019). It is also called client-side scripting language.

2. ChooseCode Editor

The selection of code editors are essentials for beginners. These are helpful in writing code easily in a beautifully represented manner on screen. I provided a few latest Code Editors in my previous article( Top 5 Code Editors For Javascript Development). You can take one of them and start coding.

3. Learn Syntax

After decided the code editor, you have to learn how to write a code line in javascript?

I am writing a few lines of code below:

var str = 'Hello Javascript'; document.write(str);

This is the syntax of javascript. You can write a javascript code in a .js file and also .html file with the help of a script tag.

For Example:

<script> var str = 'Hello Javascript'; document.write(str); </script>

4. Read the Basics of Javascript

You need to know basic fundamentals about javascript :

  • Variables, Arrays, Object
  • Control statements(if, else, switch)
  • Loops
  • Array Functions
  • Date Functions
  • Match Functions
  • Operators
  • User Defined Functions

Above listed fundamentals complete basic set of javascript. After that, you can start DOM. Before starting on DOM it is essential that you have to know javascript. It would be great if you already know the HTML and CSS along with javascript.

5. Write some code’s snippet

After completing the above basic list. Try to make little code snippet so your coding level will improve and you easily utilize your thinking into the coding and you can understand the purpose of each inbuilt function and keyword of javascript.

6. Do practice always

It is a golden chance to improve your skills. Practice makes a man perfect. This is the most important step for learning javascript. Without practice, you can’t move forward. If you just learn things but did not practice yourself, you will definitely forget the things. So I would say practice time might be short but should continually.

7. Make a project

Once you will be confident, start to develop a project in javascript. It can be shorter or bigger. It makes mentally strong. It develops the mind as you made something creative on your own.

8. Keep Patience

This is last but not the least. Keep patience always and believe in yourself. With two words(patience and belief) you can achieve all things. Things always take time to happen. So be patience and just focus on your goal.

The above steps will help to start to learn javascript if you are a beginner.

You can also put a comment in the comment box. If you have a question. I will give a reply to it.

Thanks

Originally published at https://codebebo.com on July 25, 2019.

--

--

Ravinder Negi
codebebo

I’m a Software Eng. and Content Creator. I build things for the internet. checkout my website: https://ravindernegi.com