gogogo
Syndetics cover image
Image from Syndetics

A smarter way to learn javascript : the new tech-assisted approach that requires half the effort / Mark Myers

By: Material type: TextTextPublisher: Charleston : , ©2014Description: xi, 293 pages : illustrations ; 26 cmISBN:
  • 9781497408180 (pbk)
Subject(s): DDC classification:
  • 005.133 MYE
Contents:
Alerts -- Variables for strings -- Variables for numbers -- Variable names legal and illegal -- Math expressions: familiar operators -- Math expressions: unfamiliar operators -- Math expressions: eliminating ambiguity -- Concatenating text strings -- Prompts -- if statements -- Comparison operators -- if...else and else if statements -- Testing sets of conditions -- if statements nested -- Arrays -- Arrays: adding and removing elements -- Arrays: removing, inserting, and extracting elements -- for loops -- for loops: flags, Booleans, array length, and loopus interruptus -- for loops nested -- Changing case -- Strings: measuring length and extracting parts -- Strings: finding segments -- Strings: finding a character at a location -- Strings: replacing characters -- Rounding numbers -- Generating random numbers -- Converting strings to integers and decimals -- Converting strings to numbers, numbers to strings -- Controlling the length of decimals -- Getting the current date and time -- Extracting parts of the date and time -- Specifying a date and time -- Changing elements of a date and time -- Functions -- Functions: passing them data -- Functions: passing data back from them -- Functions: local vs. global variables -- switch statements: how to start them -- switch statements: how to complete them -- while loops -- do...while loops -- Placing scripts -- Commenting -- Events: link -- Events: button -- Events: mouse -- Events: fields -- Reading field values -- Setting field values -- Reading and setting paragraph text -- Manipulating images and text -- Swapping images -- Swapping images and setting classes -- Setting styles -- Target all elements by tag name -- The DOM -- The DOM: parents and children --- The DOM: finding children -- The DOM: junk artifacts and nodeType -- The DOM: more ways to target elements -- The DOM: getting a target's name -- The DOM: counting elements -- The DOM: attributes -- The DOM: attribute names and values -- The DOM: adding nodes -- The DOM: inserting nodes -- Objects -- Objects: properties -- Objects: methods -- Objects: constructors -- Objects: constructors for methods -- Objects: prototypes -- Objects: checking for properties and methods -- Browser control: getting and setting the URL -- Browser control: getting and setting the URL another way -- Browser control: forward and reverse -- Browser control: filling the window with content -- Browser control: controlling the window's size and location -- Browser control: testing for popup blockers -- Form validation: text fields -- Form validation: drop-downs -- Form validation: radio buttons -- Form validation: ZIP codes -- Form validation: email -- Exceptions: try and catch -- Exceptions: throw -- Handling events within JavaScript
Holdings
Item type Current library Call number Status Date due Barcode
Standard Loan Moylish Library Main Collection 005.133 MYE (Browse shelf(Opens below)) Available 39002100692749

Enhanced descriptions from Syndetics:

Learning JavaScript is hell because of two problems.
I remove the problems, and you start having fun.

The first problem is retention. You remember only ten or twenty percent of what you read. That spells failure. To become fluent in a computer language, you have to retain pretty much everything.

How can you retain everything? Only by constantly being asked to play everything back. That's why people use flashcards. But my system does flashcards one better. After reading a short chapter, you go to my website and complete twenty interactive exercises. Algorithms check your work to make sure you know what you think you know. When you stumble, you do the exercise again. You keep trying until you know the chapter cold. The exercises are free.

The second problem is comprehension. Many learners hit a wall when they try to understand advanced concepts like variable scope and prototypes. Unfortunately, they blame themselves. That's why the Dummies books sell so well. But the fault lies with the authors, coding virtuosos who lack teaching talent. I'm the opposite of the typical software book author. I'll never code fast enough to land a job at Google. But I can teach.

Anyway, most comprehension problems are just retention problems in disguise. If you get lost trying to understand variable scope, it's because you don't remember how functions work. Thanks to the interactive exercises on my website, you'll always understand and remember everything necessary to confidently tackle the next concept.

"I've signed up to a few sites like Udemy, Codecademy, FreeCodeCamp, Lynda, YouTube videos, even searched on Coursera but nothing seemed to work for me. This book takes only 10 minutes each chapter and after that, you can exercise what you've just learned right away!" -Amazon reviewer Constanza Morales

Better than just reading. And more fun.

You'll spend two to three times as much time practicing as reading. It's how you wind up satisfied, confident, and proud, instead of confused, discouraged, and defeated. And since many people find doing things more enjoyable than reading things, it can be a pleasure to learn this way, quite apart from the impressive results you achieve.

"Very effective and fun." -Amazon reviewer A. Bergamini

Written especially for beginners.

I wrote the book and exercises especially for people who are new to programming. Making no assumptions about what you already know, I walk you through JavaScript slowly, patiently. I explain every little thing in sixth-grade English. I avoid unnecessary technical jargon like the plague. (Face it, fellow authors, it is the plague.)

"The layman syntax he uses...makes it much easier to suddenly realize a concept that seemed abstract and too hard to wrap your head around is suddenly not complicated at all." - Amazon reviewer IMHO

The exercises keep you focused, give you extra practice where you're shaky, and prepare you for each next step. Every lesson is built on top of a solid foundation that you and I have carefully constructed. Each individual step is small. But, as Amazon reviewer James Toban says, when you get to the end of the book, you've built "a tower of JavaScript."

If you're an accomplished programmer already, my book may be too elementary for you. (Do you really need to be told what a variable is?) But if you're new to programming, more than a thousand five-star reviews are pretty good evidence that my book may be just the one to get you coding JavaScript successfully.

"Mark Myers' method of getting what can be...difficult information into a format that makes it exponentially easier to consume, truly understand, and synthesize into real-world application is beyond anything I've encountered before." -Amazon reviewer Jason A. Ruby

Includes index

Alerts -- Variables for strings -- Variables for numbers -- Variable names legal and illegal -- Math expressions: familiar operators -- Math expressions: unfamiliar operators -- Math expressions: eliminating ambiguity -- Concatenating text strings -- Prompts -- if statements -- Comparison operators -- if...else and else if statements -- Testing sets of conditions -- if statements nested -- Arrays -- Arrays: adding and removing elements -- Arrays: removing, inserting, and extracting elements -- for loops -- for loops: flags, Booleans, array length, and loopus interruptus -- for loops nested -- Changing case -- Strings: measuring length and extracting parts -- Strings: finding segments -- Strings: finding a character at a location -- Strings: replacing characters -- Rounding numbers -- Generating random numbers -- Converting strings to integers and decimals -- Converting strings to numbers, numbers to strings -- Controlling the length of decimals -- Getting the current date and time -- Extracting parts of the date and time -- Specifying a date and time -- Changing elements of a date and time -- Functions -- Functions: passing them data -- Functions: passing data back from them -- Functions: local vs. global variables -- switch statements: how to start them -- switch statements: how to complete them -- while loops -- do...while loops -- Placing scripts -- Commenting -- Events: link -- Events: button -- Events: mouse -- Events: fields -- Reading field values -- Setting field values -- Reading and setting paragraph text -- Manipulating images and text -- Swapping images -- Swapping images and setting classes -- Setting styles -- Target all elements by tag name -- The DOM -- The DOM: parents and children --- The DOM: finding children -- The DOM: junk artifacts and nodeType -- The DOM: more ways to target elements -- The DOM: getting a target's name -- The DOM: counting elements -- The DOM: attributes -- The DOM: attribute names and values -- The DOM: adding nodes -- The DOM: inserting nodes -- Objects -- Objects: properties -- Objects: methods -- Objects: constructors -- Objects: constructors for methods -- Objects: prototypes -- Objects: checking for properties and methods -- Browser control: getting and setting the URL -- Browser control: getting and setting the URL another way -- Browser control: forward and reverse -- Browser control: filling the window with content -- Browser control: controlling the window's size and location -- Browser control: testing for popup blockers -- Form validation: text fields -- Form validation: drop-downs -- Form validation: radio buttons -- Form validation: ZIP codes -- Form validation: email -- Exceptions: try and catch -- Exceptions: throw -- Handling events within JavaScript

Powered by Koha