The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Also in listing 6.10.
|> Query.findAll [ tag "img", attribute "src" (urlPrefix ++ url) ]

does not compile

The `attribute` function expects `Html.Attribute Never` rather than `String`.

After importing Html.Attribute

import Html.Attributes exposing (src)

the following works:

|> Query.findAll [ tag "img", attribute <| src (urlPrefix ++ url) ]
Breaks down the `node` function rather than the `test` function.
I know this isn't a book about Jupyter, but it also claims to be "soup to nuts". I have no experience using Jupyter. I installed it like the introduction said. On page 25, it says to "Open up a Jupyter Notebook and run the following". I was able to find online how to start Jupyter, I created a new notebook, and entered all the code in "In [1]:" but now have no idea how to run it.

A brief introduction to Jupyter would be helpful. For example, was all of the code supposed to go into "In [1]:"? Or does each bit of code go into it's own "In"? Or does it go somewhere else? The book says "The last line prints out the prediction (pred)." Where is this printed?

I decided to create a python file to run the code, and printed out pred. What am I missing by not running the code in Jupyter?