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

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

PowerMockup- Helps you sketch mockups in Powerpoint

Most of us use Microsoft Power point to give presentations to our clients… Here is the solution to your wireframing, mockup, sketching needs in Power Point, its PowerMockup… Main features includes- 63 fully editable user interface elements Easy access via a separate ribbon tab Compatible with PowerPoint 2007 and 2010 Microsoft Power Point Window The best part of it which I liked is.., that you can create fully editable mock-ups. So, there is no need to install any other additional software to present in Power point, just use Powermockup and you are done. You can get this amazing piece of add-on just for free, till wednesday(6 April 2011)… So.., hurry up, don’t loose chance. Check out the main product website for more details.. PowerMockup

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