SEARCH KEYWORD -- javascript

Recently I saw somebody asked a question in a forum, the question is "Which programming language should I learn first?". Then someone answered this question. His answer:Depends.
To program in an expressive and powerful language: PythonTo get a website up quickly: PHPTo mingle with programmers who call themselves “rockstars”: Ruby.To really learn to program: C.To achieve enlightenment: Scheme.To feel depressed: SQLTo drop a chromosome: Microsoft Visual BasicTo get a guaranteed, mediocre,...

During some interesting discussions on Twitter yesterday I found that
there is now more than ever a confusion about JavaScript dependence in
web applications and web sites. This is a never ending story but it
seems to me to flare up ever time our browsing technology leaps forward.
I encountered this for the first time back in the days of DHTML. We pushed browsers to their limits with our lovely animated menus and 3D logos (something we of course learned not to do again, right?) and we were ...

Douglas Crockford is a JavaScript expert, he is the inventor of JSON. In November 2011 he made a speech "Youtube", during the speech he talked about what JavaScript programming style is.I
recommend this speech to everyone, it not only helps you learn
JavaScript but also make you enjoying because Crockford is very humorous
and he made audience laugh frequently.Next I will summarize JavaScript programming style according to this speech and his article code convention. The so-called programming ...

There are two ways of creating time delays with JavaScript. The first is more simple
and will simply wait for a specified amount of time before executing a function. The second
does the same but will repeatedly execute the function.
Note, many browsers have a minimum delay length of between 25 and 75 ms, with some of the fastest browsers
having a minimum delay of about 3 ms. If a shorter delay is specified,
the actual delay will be the minimum delay length. Even with higher numbers, the delay i...

Javascript gets a bad rap on the Internet, but there are few languages that are so dynamic, so widespread, and so deeply rooted in our lives as Javascript is. The low barrier of entry leads some people to call it a script kiddie language, others scoff at the concept of a dynamic language while riding their statically typed high horse. You and Javascript just got off on the wrong foot, and now you've made it angry. Here's five reasons why your Javascript code sucks.1. You're not using a namespace...

At Khan Academy we've been
investigating teaching Computer Science to students in some new and
interesting ways. The most interesting aspect of which is that we're
likely going to be teaching them JavaScript as their first language.
We're in a very unique position as we're primarily aiming to teach students who've been through our previous math and science-centric curriculum. Because of this we can create some rather compelling exercises and projects that never would've been feasible other...

I’m probably a bit biased – being a front-end web developer for a
few years will do that – but I really enjoy writing Javascript. I’ve
recently retreated from pure coding the last few months, but I got an
opportunity this past week to jump back into some tasks, and it has
reminded me how fun it is to dive into our[1] front-end codebase.
Yes, Javascript can be surprisingly elegant yet completely infuriating,
and all on the same line of code; for a long time, it remained the joke...

Today I come across a code snippet which uses JavaScript to check different mobile devices and then loads different CSS files accordingly. As we know that there are mobile devices with different screen sizes, it's always troublesome for web developers to develop cross browser and cross device compatible codes. Hope this one can help those who develop web apps on mobile devices.
// Check whether it's a mobile device
// wukong.name 20130716
if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (...

SublimeLinter is a plugin for one of the front end editor--Sublime Text, it is used to highlight those syntax not conforming to standard or wrong, it supports JavaScript,CSS,HTML,Java,PHP,Python,Ruby and some more.This article will introduce how to configure SublimeLinter in Windows to validate JavaScript and CSS codes.
Preparation
Install Sublime Text package control tool : http://wbond.net/sublime_packages/package_control
Install SublimeLinter with Sublime Text package control tool :https://gi...