Errata

Learning Web App Development

Errata for Learning Web App Development

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 92
2nd paragraph.

IUnder "Adding and manipulating Fonts" title at the second sentence it is said that the headers that Ubuntu font will be applied are h1, h2, h3 and h4 but there is no h4 in the code, I guess it should be h5 instead of h4.

Taylan Karaman  May 13, 2017 
Printed Page 137
1st paragraph

The "for" loop listed on pages 136-137 does not change the active tab upon clicking on it. The reason for that is that we do not enter the loop every time a tab is clicked, so the value of the tabSelector variable remains ".tabs a:nth-child(3) span" after we execute the loop the first time. From that point on, regardless of which tab we click, the last tab will always be selected as active.

Alex Shkiler  Sep 04, 2016 
Printed Page 219
Code block

Variable "redisClient" declared, but the redis client is instantiated to (previously undeclared) global variable "client".

Zach Schmidt  Dec 26, 2015 
PDF Page 223
Last block of code, in the second half of the page

In the following function:

> var clubs = [];
> ["two", "three", "four", "five"].forEach(
... function (rank) {
... cards.push( { "rank":rank, "suit":"clubs" } )
... });
> clubs
[
{
"rank" : "two",
"suit" : "clubs"
...

In order to include all the elements inside the "clubs" variable, later displayed, the core of the function should be:

... clubs.push( { "rank":rank, "suit":"clubs" } )

Xavier G√≥mez  Nov 23, 2016 
PDF Page 225
3rd line

The fix I had to apply was combining:

npm install express@3
from
http://learningwebappdev.com/errata/chapter6/2014/04/12/chapter-6-express-version-4.html

with

npm install express --no-bin-links
https://github.com/semmypurewal/LearningWebAppDev/tree/master/Chapter6

to result in

npm install express@3 --no-bin-links

mondoleo  Oct 09, 2015