I need sample JavaScript programs

I am new to JavaScript and need to play around with a variety of working demo programs, in order for me to really "get it".

Can anyone please send me sample programs I can play with?

Thanks,
newbieweb
curiouswebsterSoftware EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

numberkruncherCommented:
Last week a friend of mine wanted me to explain how to create a simple game using JavaScript. So I walked him through the creation of a 'Snake' type game. You are welcome to the source for playing with.

It requires jQuery. For all new beginners I would highly recommend a JavaScript framework like jQuery or PrototypeJS. These days I tend to use jQuery a lot. These frameworks help make your code compatible with the major web browsers. They also add a lot of really handy functionality like CSS3 selectors for accessing elements.

snake.html
jquery.min.js

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SSupremeCommented:
curiouswebsterSoftware EngineerAuthor Commented:
Thanks.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

curiouswebsterSoftware EngineerAuthor Commented:
I posted a question looking for comments on the source code for your Snake program:

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_26703726.html

numberkruncherCommented:
I am more than happy to do this for you, but it will be tomorrow as I am just off to bed!
curiouswebsterSoftware EngineerAuthor Commented:
numbercruncher,

I am really digging deep into your Snake program and placed another question on EE about it.

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_26704918.html

Thanks for an awesome demo.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.