|
256 of 266 people found the following review helpful
Verified Purchase(What's this?)
This review is from: JavaScript and JQuery: Interactive Front-End Web Development (Paperback)
I love Jon Duckett's HTML and CSS book, it has been an invaluable resource in my career. I first started learning web development using it. I was eagerly awaiting this book for over a year. I couldn't wait to learn JavaScript any longer, so I picked up JavaScript: The Definitive Guide and learned a lot online thanks to Codecademy, CodeAvengers, and lots of other great online resources. So, I have a pretty good grasp of JavaScript and use it every day in my job. I still picked up this book when it was released because Duckett's previous book was so important to me and it never hurts to get different perspectives and reinforce my skills and knowledge.
I'm about halfway through this book so far and I love it, I'm learning some new things and understanding some concepts from a different angle than I previously did. So, it's already worth the price. However, this book could have used another pass through by a technical editor. It seems like they switched up how they wrote variables and functions halfway through and forgot to fix all the examples in the book. I'm just finishing the events chapter right now and the final example has grievous errors that prevent the page from working as intended. See below: function writeLabel(e) { if (!e) { e = window.event; } target = event.target || event.srcElement; textEntered = e.target.value; noteName.textContent = textEntered; } Rather, it should be: function writeLabel(e) { if (!e) { e = window.event; } target = e.target || e.srcElement; textEntered = target.value; noteName.textContent = textEntered; } Go to the accompanying website and try it for yourself: the "Audio Note" text doesn't update. I ignored the first few errors like this but when I got to this point in the book I just had to let others on Amazon know of the problems (my first Amazon review!). I like Duckett and want this book to succeed, but it needs another pass by a technical editor before complete novices can get full utility out of it. Luckily, I have a good understanding of JavaScript so I can see where the errors are and correct them (maybe it's all a test!?). However, this book is intended for people who have never learned any JavaScript before and thus they will not realize the errors in the code. I'm sure the second printing or edition will fix some of these errors. If you're new to JavaScript, I want to recommend this but there are some gaping errors, so you should be careful and back up your learning with other resources.
Sort: Oldest first | Newest first
Showing 1-10 of 15 posts in this discussion
Initial post:
Jul 24, 2014, 9:17:19 AM PDT
Scott says:
It would be pretty amazing if a technical book came out without any errors, wouldn't it? I, too, was able to spot some and work around them, but not all people will be able to. I'd suggest you to send them this kind of feedback via their website's errata page: http://www.javascriptbook.com/errata/. This book has been highly anticipated, with lots of immediate buyers/readers. I'll bet they have received some solid input from the readers about similar things already. Hopefully they will present this kind of collected information on their website (nothing there yet, as this is a really new book as of the date of this comment) in the coming months.
Posted on
Jul 24, 2014, 11:14:45 AM PDT
John Miller says:
I agree, while the way the information is presented is excellent, there are many errors, especially in the code samples and exercises.
Fortunately, if you download the code from the book's website to your computer, it is (so far as I can tell) error free.
Posted on
Jul 24, 2014, 8:08:44 PM PDT
[Deleted by the author on Jul 27, 2014, 8:27:19 PM PDT]
Posted on
Jul 25, 2014, 12:39:12 PM PDT
Jon says:
Hello, and thank you for your thoughtful review.
I'm sorry to say that there were some errors in the first print run of this book, and we do understand that they cause inconvenience and frustration. We will certainly look to make further improvements to our process to avoid these kinds of errors happening in the future. We are maintaining a list of the errors that we find on the website for the book here: http://javascriptbook.com/errata/ At the same time, we will update both the online code samples and the files used to create any future print runs of this title. If any readers spot errors that are not listed on our website, please do get in touch with us via our email: hello at javascriptbook.com so that we can inform other readers via this errata page. Thank you.
In reply to an earlier post on
Jul 28, 2014, 5:08:27 PM PDT
Kyle Halleman says:
I appreciate the response and I'm glad you're attentive to the feedback. Good to see you've already updated the site with some of the errors!
Thank you again for a wonderful book, I'm still working my way through it and I'll be sure to keep taking my notes and send an email when I'm done with anything else I've found.
Posted on
Sep 22, 2014, 5:54:15 AM PDT
D-Electronica says:
Thank you for this. I always look at the negative reviews on Amazon in case someone has some pertinent information. I will probably still buy the book since one of John Miller said the downloadable files have no errors. Knowing this, I believe it can improve my own troubleshooting abilities. Thanks again.
Posted on
Sep 26, 2014, 9:20:09 AM PDT
Last edited by the author on Sep 26, 2014, 9:22:15 AM PDT
Mackiever says:
Is anyone else having problems running chapter 8 pg 381: AJAX & JSON : (data-xml.js, data-xml.html, and data.xml)? I thought it's supposed to display the map, but it doesn't, I changed line 5 in data-xml.js file to true : if (true), but still not displaying map...I know it doesn't run locally but according to writer, firefox can handle it.
Posted on
May 24, 2015, 5:11:38 AM PDT
Leonard Rapi says:
Don't target and e.target refer to the same thing in this case?
In reply to an earlier post on
Jun 3, 2015, 10:21:37 PM PDT
[Deleted by the author on Jun 3, 2015, 10:22:03 PM PDT]
In reply to an earlier post on
Jun 3, 2015, 10:22:51 PM PDT
Matthew says:
Response to Leonard's question:
If target is e.srcElement (from statement "target = e.target || e.srcElement;") then target and e.target do no refer the same thing. |
Review Details |