Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m confused and frustrated

The solution to exercise on Page 490 of Head First HTML is incorrect

I want to confirm that there is an error in the book. The solution on page 544 for the exercise on page 490 appears to be incorrect. My results show a flow as follows:
p, div, h2, p, h3, p, p, h3, p, p, h3, p, p, h1, p, p, p, p, p, h2, p, ul, div, p

The solution on page 544 reads as follows:
p, h1, p, p, p, p, p, h2, p, ul, div, h2, p, h3, p, p, h3, p, p, h3, p, p, div

Please confirm that my results are correct and that the book's solution is incorrect.
1 person has
this question
+1
Reply
  • Hi Steve,

    You can check to see if this error has been posted on the book's errata page and see if the authors/editors have provided a solution.

    You can get to the errata page by searching the book's title on the website and clicking the 'view/submit errata' link on the left hand side.

    Or, simply click on the link below:

    http://oreilly.com/catalog/errata.csp...

    If the problem you are having is not already listed, please feel free to add it to the page so that the authors/editors are aware of it, and can take the necessary steps to find a solution.

    Kind regards,
    Sophia
    O'Reilly Media
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Steve, the solution assumes you're working with lounge.html *before* doing the super brain power. I recognize now that that is not clear in the exercise. If you move the elixirs div back to where it was before the change you make in the file for the super brain power on page 481, you should find that the block elements are in the correct order. I hope this clarifies. Good point to clarify in the next edition, thank you.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited