Start reading A Smarter Way to Learn JavaScript on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

A Smarter Way to Learn JavaScript: The new approach that uses technology to cut your effort in half

A Smarter Way to Learn JavaScript: The new approach that uses technology to cut your effort in half [Kindle Edition]

Mark Myers
4.4 out of 5 stars  See all reviews (17 customer reviews)

Print List Price: £12.00
Kindle Price: £3.67 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £8.33 (69%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition £3.67  
Paperback £11.02  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Product Description

Product Description

I found JavaScript books so frustrating, I decided to write my own.

The authors of JavaScript books are probably some of the brightest people around. And maybe that's the problem. Maybe they don't know how to relate to those of us who may sometimes struggle to learn. My sister is a wonderful dancer. I dance like Bill Gates. She says, "C'mon, dancing is easy!" Yeah, for her, but not for Bill and me. She'll never teach me to dance until she understands that dancing isn't easy for me.

Whether you're a beginner or an experienced coder doesn't matter. Plenty of veterans have told me, "I wish someone had used this approach to teach me [HTML, PHP, jQuery, C#, Ruby, Java, Python—fill in the blank]." Experienced or not, you'll probably like my book if you find other books too dense, too technical, and too unsympathetic to the learner's needs.

What you'll especially like, I think, is that the book is just the tip of the iceberg. The larger part is the abundance of interactive exercises that encourage you to practice, practice, practice. You'll agree, I think, that without practice, a coding student might as well be reading a novel.

One caveat: If you're an older programmer who has established ways of doing things, you may get bent out of shape by my insistence that you do some things that aren't habitual for you. If you think this might be a problem, please try the free sample of the book before you buy it. Then do a few of the interactive exercises. You'll soon know whether you can tolerate being pushed around by me.

Here's what's different about my book:

Testing showed that books and courses load up the reader with far too much information at a time. So I divide up the information into little chunks that won't overwhelm anyone.

A book on coding doesn't have to be written in impenetrable legalese. It can actually be human-readable. My book is.

Most people learn best through examples, so I provide plenty of them.

Most important, before you have a chance to forget what you've read in the book, I ask you to fire up your desktop or laptop (not your mobile device) and head over to my website, where you run a set of interactive exercises, practicing everything you've learned—until you're sure you've mastered it.

Readers tell me they often start the exercises thinking they know the material cold. and quickly find out they don't. The automated exercise manager keeps you at it until your overconfidence becomes real confidence—confidence that's based on your excellent performance. There are 1,750 exercises in all. They're all interactive, with an automated answer-checker that corrects your missteps and points you in the right direction when you stumble. And they're all free.

Readers tell me the combination of book and interactive exercises is involving, fun, frustration-free, addictive, confidence-building, and...well, read the reviews.

Become fluent in all the JavaScript fundamentals, with interactive practice.

  • Display alert messages to the user
  • Gather information through prompts
  • Manipulate variables
  • Build statements
  • Do math
  • Use operators
  • Concatenate text
  • Run routines based on conditions
  • Compare values
  • Work with arrays
  • Run automated routines
  • Display custom elements on the webpage
  • Generate random numbers
  • Manipulate decimals
  • Round numbers
  • Create loops
  • Use functions
  • Find the current date and time
  • Measure time intervals
  • Create a timer
  • Respond to the user's actions
  • Swap images
  • Control colors on the webpage
  • Change any element on the webpage
  • Improvise new HTML markup on the fly
  • Use the webpage DOM structure
  • Insert comments
  • Situate scripts effectively

About the Author

A few years ago I set out to teach myself JavaScript by reading programming books. It was such a struggle that I decided I must have lost some learning ability over the years. Then it hit me... I wasn't a bad learner. The books were bad teachers! I fought my way through a dozen books, and by brute effort, learned JavaScript. But I had to design exercises for myself. Without practice, I couldn't retain anything. JavaScript, I learned, isn't that hard. The books make it hard. So I wrote a book that makes JavaScript easy. And, since exercises are the only way to make the knowledge stick, I programmed 1,750 of them for you. I'm a former lecturer in the Communications School of Boston University. I hold an A.B. from Harvard. My professional focus is on using technology to reduce the effort and tedium of learning, primarily through interactivity. I'm developing the "A Smarter Way to Learn" series on programming, a collection of instructional books paired with online interactive exercises. I run the website Along with my wife Judy and our two politically-active cats, I live in Taos, NM, where I cook under the ghostly supervision of Marcella Hazan, read extensively, play showboat frisbee once a week, and long for more episodes of "Breaking Bad."

Product details

  • Format: Kindle Edition
  • File Size: 1047 KB
  • Print Length: 353 pages
  • Simultaneous Device Usage: Unlimited
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B00H1W9I6C
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Bestsellers Rank: #16,564 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

Customer Reviews

Most Helpful Customer Reviews
2 of 2 people found the following review helpful
4.0 out of 5 stars Very Accessible 16 Feb 2014
Format:Kindle Edition
A Smarter Way to Learn JavaScript: by Mark Myers

A Smarter Way to Learn JavaScript is a good introduction to JavaScript and is full of useful knowledge. Mark Myers comes across as someone who really knows his subject and makes it easy to understand by beginners. The book could perhaps have included more reasons to learn Java compared to HTML for those completely new to it. There are a few criticisms that prevent it receiving a higher rating than 4 stars.
There are several pages at the start extolling the virtues of ebooks - does the reader really care? It doesn't have much to do with JavaScript, it just comes across as if the author is on a pet hobby-horse. Presumably the reader has already bought into the concept anyway if he's reading this as an ebook? In Chapter 2 I think it's potentially a bit confusing that the first example of a variable declaration is of a variable whose name is "name", it could lead to a misunderstanding of the syntax of the declaration statement - i.e. var name = "Mark"; could be interpreted wrongly as meaning that a variable's name is defined to be Mark. I would find it clearer to include a definition of the syntax of the statement, something like: [keyword "var"][space][name of variable][optional space][operator "="][optional space][value of variable][semi-colon] where in this case the value of the variable is the string literal "Mark". The end of Chapter 3 is missing, i.e. the bit that says if you specify a numeric literal or a variable with a numeric value in an alert statement then it gets converted to a string. Plus there are a couple of editing issues in Chapters 5 and 7.

Overall I can certainly recommend this book to a newcomer to JavaScript as being very accessible and containing much vital information.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Just what I was looking for! 7 May 2014
Format:Kindle Edition|Verified Purchase
I have been learning web-development for a couple of months now, and it was time to start learning JavaScript after getting control of both HTML and CSS. I tried various video tutorials, and exercises on the web and while I made small progress, it was not easy and what I learnt was not embedding into my head.

I gave this book a try, and everything started to make sense, I was kicking myself at how easy JavaScript really was to learn if taught the right way, and it also made it fun to learn with the exercises helping so much. I could not recommended this book enough to any one starting out with learning JavaScript.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
A superb way of learning a new language. I have been through a few books in my time for different programming languages and I have always struggled to retain the teaching and to put it into practice. This book does both so effectively. This IS the way to learn. I spend 10 minute reading a lesson on the train in the morning and then 20 - 30 minutes during my day putting what I've learnt into practice using the great online exercises.

Well done Mark Meyers - fantastic!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars A new way to learn. 4 Aug 2014
Format:Kindle Edition
The learning method provided here is outstanding. The short chapters coupled with the interactive online questions really kept things fresh. I found the online coding drills invaluable, I think all coding books should be delivered in a similar way.

Can't recommend this enough.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Best way to learn - by a mile! 1 Nov 2014
Format:Paperback|Verified Purchase
This book and the interactive learning system that goes with it, is the best online teaching method I've ever come across. By a mile! Although I'm OK at HTML and CSS and using Textpattern CMS (all self-taught) to build many websites, I've always had a mental block when it comes to real programming and always gave up eventually. I've coped by copying and pasting code that I didn't really understand.

Finally, I found this book and it is so clear that it all makes sense. The interactive exercises are a MUST and really help the learning sink in deep. They test for proper understanding and reinforce what I learned in a way that cannot be done by reading alone. It's just like having a teacher in front of me giving me little tests that are tailored exactly right for my level of comprehension. ABSOLUTELY SUPERB!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Practical and theoretical all in one!! 12 Sep 2014
By PHelm81
Format:Kindle Edition|Verified Purchase
This is a great way to learn JavaScript, and I am thoroughly enjoying reading and practicing as i go along. I have been looking at ways to learn code, as I thought it would allow me to become more independent when looking at ways to runs things and problem solve.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
Format:Kindle Edition|Verified Purchase
This ebook is worth every penny. The end of chapter exercises are really useful. For beginners this book is absoultely god send. I recommend this book to all primary and secondary school students who are good at Scratch programming. My thanks to author.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Smart, funny and effective 28 July 2014
Format:Kindle Edition|Verified Purchase
Really enjoyable way to learn JS coding. Not as stuffy as many of the chunky textbooks and certainly nit as scary. The 'drill' exercises help burn the key learning points in too. Cracking little book.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category