Setting up subdirectories using mac os x terminal

The book states to use the command
mkdir front-end-dev-book/ottergram
which of course does not work and returns “No such file or directory”.

Instead use this command to create subdirectories:

mkdir -p front-end-dev-book/ottergram

using the -p flag allows subdirectories to be created.

Nice catch!
And thanks for the -p tip!