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...

Create Windows 7 bootable USB

Many of us are so lazy these days that we do n’t want to use optical media for any purpose. Now, even Mini laptops do n’t include DVD +RW drive in them. My friend having a similar problem came to me, he was not having any optical media drive in hp Mini laptop. So, he asked me about how could he be able to load Windows 7 or Vista into it, and the answer is by creating a bootable usb pen drive. It is very simple to create a bootable USB drive for Windows 7. Here is the whole guide to create Windows 7 USB installation Preparing the USB drive Get a 4GB or more capacity of USB pen drive, SD/MMC card might also work (not tested by me). Format the pen drive in NTFS file system and copy all the data of Windows Installation DVD into USB drive. Click on start and click Run… Type cmd and press enter. Run cmd as administartor. Now open the USB drive, for example J: drive is my USB drive, I’ll type J: and press enter. Type- cd boot bootsect /nt60 J: /force This will make your pen drive...