Learning Web App Development

by Semmy Purewal

class should be greeting

page 64

04 Jan 2015

In the example at the bottom of page 64, the CSS specifies the following:

p.selected {
    color: green;

But in the above HTML, the class is specified as greeting, not selected. The class should be the same in the HTML and the CSS. So the CSS should be changed to:

p.greeting {
    color: green;

Thanks to Kasper Meyer for pointing this out!