It is full of Examples, References, Syntax’s, Tips, Notes, Warning, Activities, etc.
OOPs is based on the concept of “Object” which contains data and function. Further, Function contains statement and instructions for the compiler to compile and give the output.
- Flexibility– JS is flexible to use as the coding is flexible. For example, the variables don’t need to be declared with data types. You use a single keyword to declare every kind of data type, i.e. “Var”.
- User-friendly– It is easy to code with JS.
- It is one of the most famous Scripting Languages and thus, programmers prefer JS as their choice. Learning JS helps with back end and front-end development. Node JS, jQuery, etc. are the frameworks where JS is used.
Prerequisite - Requirements
If you are not familiar with HTML, it would be better to learn the basics of HTML first and then come back here.
Our target students are Beginners or Intermediate level.
It is ideally suited for those who wants to build their career in Website Development & Design.
What will you learn in this Tutorial?
We request you to go through each topic thoroughly and we have at least one Activity at the end of every topic.
If you have doubt or wants to share anything will us, you can send it us and we will try our best to respond.
You can click on “Run the code” to execute our examples live in the browser.
Little coding for fun and learn - Basic example of JS
<!DOCTYPE HTML> <html> <body> <script> alert( 'Hello, world! Welcome to TutorialBrain!'); </script> </body> </html>
Explanation of Example:
The output of the program is:
Hello, world! Welcome to TutorialBrain!
And the output will print on the alert box. It will drop from the search box of the browser.
The Alert box will contain the message with the “Ok” button.
The alert() function is used to print the message in the alert box.
The alert box can be used to take input and give output.