Skip to main content

Why you should learn Javascript?

I am a strong web enthusiast that lead me into learning Javascript. But after learning this scripting language, I must say everyone who uses a computer must learn this language and there are many reasons for this, few of them I am going to list over here.

  • It is the easiest Object Oriented Programming language.

  • It is very flexible in syntax, unlike Java it is not a strictly typed language.

  • It is a cross platform language which can be run on mobile devices as well as laptops.

  • You don't need anything to install, test, run and debug your JavaScript programs except a web browser.

  • Stackoverflow has highest number of questions tagged as Javascript. So, you will be getting best support from the web while learning this language.

  • With introduction of node.js Javascript, which often used to be a client side scripting language, it can now be used for server side programming as well.


For any Computer Science student or anyone looking a career in computing, it is essential to know the future of internet, and as predicted by many big companies internet cloud computing will be taking over conventional computing. This will drastically increase the use of JavaScript and HTML for front end web development. With the evolving standards like HTML5 and CSS3 Javascript looks even more beautiful with lesser amount of coding.

While starting this post, I mentioned that Javascript should be learned by anyone who is using computer and that's because it can do task of 10 to 15 minutes in few seconds and it can do task of hours in few minutes. Some of  these tasks which can be done by using Javascript includes-

  • Text Handling

    • Finding and replacing particular text with various logical conditions.

    • Printing some thing repeatedly.

    • Printing something randomly.



  • Number Handling

    • You can almost do any mathematical calculation with logical constraints.

    • You can print random numbers for a game or something like that.




There is lot more to this, Javascript learning is pure fun. You can just open you web browser and start practicing it. I use chrome for most of my web browsing, you can use Ctrl + Shift + J to open Javascript console in Google Chrome. To start with, you can type in following command to print "Hello World!"

[code language="Javascript"]
console.log("Hello World!");
[/code]

Hello World

The above code will print "Hello World!" in Javascript console. Similarly if you want to print this code into Document body. Write it like this-

[code language="Javascript"]
document.write("Hello World!");
[/code]

I have learnt Javascript using a website, Code Academy, its fun and interactive, if you want you may checkout.

Comments

Popular posts from this blog

5 things to remember before buying a new smartphone

When you need a new smartphone, it isn’t easy deciding which phone to pick and if you are not careful, you might end up paying extra for features you do not need. That is why it is advisable to compare mobile features and make an informed decision. The top runners in the list of good smartphones are the Samsung Galaxy S5, Apple iPhone 5s, Motorola Moto X, HTC One (M8), LG G2, Nokia Lumia 1520, Samsung Galaxy Note 3, Google Nexus 5 a nd Motorola Moto G. Keep in mind the design, display, performance, camera and battery while comparing these phones. Design You need to decide whether you want a small phone that fits easily in your pocket or you would rather prefer a big screen phone. The iPhone 5s is relatively small in size compared to the massive Lumia 1520. Getting a small size phone doesn’t guarantee it being lightweight, most often it is the opposite. The smaller phone, most often is the heaviest. The Nexus 5 however, is small in size and lightweight. Phones often come in plastic or ...

Fulfilling The Urge of Shopping is Now Easy

Shopaholics on the alert! Get set, and go! Yes, it has indeed turned into a race – a race of online shopping. It may be an occasion embraced shopping carnival or a clearance sale or simply just a season ending mega sale. On its way is another such colossal online shopping fest knownas the Great Online Shopping Festival or simply GOSF which is to take place from the 10th to the 12th of December 2014.   What does GOSF do? The GOSF is an initiative by Google and was launched on the 12th of December, 2012. Ever since then, it has been a favorite among its users. The GOSF offers are not only limited to those particular days of December but numerous trifle coupons, reminders as well as updates are also sent to your registered email ids all through the year. Along with these, there are funny little games on the GOSF site that provide you with innumerable opportunities to win yourself free gift coupons or free shopping facilities just by scoring points in the game.   Worried about the products...

Add a countdown to your page using jQuery Responsive Countdown

If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here . Table of Contents Brief Description Step 1 (Download, Unzip) Step 2 (Set options) Step 3 (Import required files) Step 4 (Create HTML container) Step 5 (Create and activate countdown) Resources Brief Description - top jQuery Responsive Countdown is a tool that gives you the ability to create a nice looking countdown, which uses flipping animation to display remaining time to a target date. Since it is based on the canvas object it cannot run natively in older browsers like IE8. The tool uses SVG data to draw the digits and the panels, so it is scalable and looks nice on larger resolutions too. It does not use images, so it is very easy to change colors and adapt the look of it to the design of your page. The tool has a large list of options, but it can also be activated with few lines of code. In this tutorial I will show you how to add the ...